diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2010-04-09 23:22:39 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-04-11 21:02:34 +0200 |
commit | 0b2f74a47f2b10bd4c70324820a93c070b3960a5 (patch) | |
tree | 406dc45508b5b23fd0212e7891f577e42e8d159e /include/scsi/scsi_transport_fc.h | |
parent | [SCSI] libfc: remove unneeded variables in fc_exch_recv_req() (diff) | |
download | linux-0b2f74a47f2b10bd4c70324820a93c070b3960a5.tar.xz linux-0b2f74a47f2b10bd4c70324820a93c070b3960a5.zip |
[SCSI] libfc: fix hton24 macro to take expressions as args
hton24(p + 3, value) would fail to compile because
p + 3[0] is not a valid expression.
Went ahead and converted hton24 and ntoh24 to inline
functions, which is better because the parameters
are evalutated only once.
Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi/scsi_transport_fc.h')
0 files changed, 0 insertions, 0 deletions