fcoe: fix the link error status block sparse warnings
authorYi Zou <yi.zou@intel.com>
Sat, 18 May 2013 06:28:17 +0000 (06:28 +0000)
committerRobert Love <robert.w.love@intel.com>
Tue, 9 Jul 2013 18:18:26 +0000 (11:18 -0700)
commit418a8cfe69c3b6bd4598e9870b9f412e2c247214
tree73fd6a8652e5ebb10d202a534e4a870fee4d3c01
parentf07d46bbc9ba9a08b338dec7bb858977d4d822fb
fcoe: fix the link error status block sparse warnings

Both fcoe_fc_els_lesb and fc_els_lesb are in __be32 already, and both are
exactly the same size in bytes, with somewhat different member names to
reflect the fact the former is for Ethernet media the latter is for Fiber
Channel, so, remove conversion and use __be32 directly. This fixes the warning
from sparse check.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Tested-by: Jack Morgan <jack.morgan@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
drivers/scsi/fcoe/fcoe_transport.c