linux/drivers/scsi/fcoe
Vaishali Thakkar 420fa2118c fcoe: Convert use of __constant_htons to htons
In little endian cases, the macro htons unfolds to __swab16 which
provides special case for constants. In big endian cases,
__constant_htons and htons expand directly to the same expression.
So, replace __constant_htons with htons with the goal of getting
rid of the definition of __constant_htons completely.

The semantic patch that performs this transformation is as follows:

@@expression x;@@

- __constant_htons(x)
+ htons(x)

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Acked-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
2015-09-06 11:59:20 -07:00
..
fcoe_ctlr.c scsi: Convert uses of compare_ether_addr to ether_addr_equal 2013-10-14 08:25:40 -07:00
fcoe_sysfs.c SCSI for-linus on 20131110 2013-11-14 12:25:38 +09:00
fcoe_transport.c fcoe: extend ethtool to FC port speed mapping 2014-09-30 09:28:36 +02:00
fcoe.c fcoe: Convert use of __constant_htons to htons 2015-09-06 11:59:20 -07:00
fcoe.h libfc, libfcoe, fcoe: Convert debug_logging macros to pr_info 2012-12-14 10:38:55 -08:00
libfcoe.h libfc, libfcoe, fcoe: Convert debug_logging macros to pr_info 2012-12-14 10:38:55 -08:00
Makefile [SCSI] libfcoe: Add fcoe_sysfs 2012-05-23 09:40:09 +01:00