]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit912ea24d73320ef255efefcb6410951ae8c69df8
tree73fd6a8652e5ebb10d202a534e4a870fee4d3c01
parent1216d1a470ffcd530ac51c5352008922a6aa9072
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