aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/fcbuild.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/bfa/fcbuild.h')
-rw-r--r--drivers/scsi/bfa/fcbuild.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/bfa/fcbuild.h b/drivers/scsi/bfa/fcbuild.h
index 4d248424f7b3..8fa7f270ef7b 100644
--- a/drivers/scsi/bfa/fcbuild.h
+++ b/drivers/scsi/bfa/fcbuild.h
@@ -32,8 +32,8 @@
32 * Utility Macros/functions 32 * Utility Macros/functions
33 */ 33 */
34 34
35#define fcif_sof_set(_ifhdr, _sof) (_ifhdr)->sof = FC_ ## _sof 35#define fcif_sof_set(_ifhdr, _sof) ((_ifhdr)->sof = FC_ ## _sof)
36#define fcif_eof_set(_ifhdr, _eof) (_ifhdr)->eof = FC_ ## _eof 36#define fcif_eof_set(_ifhdr, _eof) ((_ifhdr)->eof = FC_ ## _eof)
37 37
38#define wwn_is_equal(_wwn1, _wwn2) \ 38#define wwn_is_equal(_wwn1, _wwn2) \
39 (memcmp(&(_wwn1), &(_wwn2), sizeof(wwn_t)) == 0) 39 (memcmp(&(_wwn1), &(_wwn2), sizeof(wwn_t)) == 0)
@@ -49,7 +49,7 @@
49static inline u32 49static inline u32
50fc_get_ctresp_pyld_len(u32 resp_len) 50fc_get_ctresp_pyld_len(u32 resp_len)
51{ 51{
52 return (resp_len - sizeof(struct ct_hdr_s)); 52 return resp_len - sizeof(struct ct_hdr_s);
53} 53}
54 54
55/* 55/*