commit | 922aa210bcad4b34a7bb98ec9d318b7e59e7a5ca | [log] [tgz] |
---|---|---|
author | Joe Eykholt <jeykholt@cisco.com> | Tue Aug 25 14:00:45 2009 -0700 |
committer | James Bottomley <James.Bottomley@suse.de> | Thu Sep 10 12:07:40 2009 -0500 |
tree | 480d1304252f34cdb8286ec104850648b852e598 | |
parent | 795d86f55ec3bf6280dda368f208943f1fb7d366 [diff] |
[SCSI] libfc: fix RPORT_TO_PRIV and PRIV_TO_RPORT() macros. These macros introduce extra undesirable semicolons that keep them from being used in expressions, and they don't protect against being passed an expression. Add parens and remove the semicolons. 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>