diff options
author | Vasu Dev <vasu.dev@intel.com> | 2015-04-16 20:06:05 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-05-28 03:39:56 -0700 |
commit | 41837cad54fe22d29f021f6cb0e9d151acb104a0 (patch) | |
tree | 43fbb002467644adb800218e7c260703057de29e /lib/test-string_helpers.c | |
parent | 6b02a174c1542486eeaa1de94e6c38e9271b89d8 (diff) |
i40e: fix unrecognized FCOE EOF case
Because i40e_fcoe_ctxt_eof should never be called without
i40e_fcoe_eof_is_supported being called first, the EOF in fcoe_ctxt_eof
should always be valid and therefore we do not need to print an error
if it is not valid.
However, a WARN ON to easily catch any calls to i40e_fcoe_ctxt_eof that
aren't preceded with a call to i40e_fcoe_eof_is_supported is helpful.
Change-ID: I3b536b1981ec0bce80576a74440b7dea3908bdb9
Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions