diff options
author | mav <mav@FreeBSD.org> | 2017-04-24 11:12:03 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2017-04-24 11:12:03 +0000 |
commit | 1b91cdf6c751258b0a2f9f99147e054bb7c16af0 (patch) | |
tree | 7c8f6a801a1c14cc3322a764f526ef56787a3e8b /sys/dev/isp/ispmbox.h | |
parent | 4f077f8d68a1e47313b451e45c1156fbbd01b10f (diff) | |
download | FreeBSD-src-1b91cdf6c751258b0a2f9f99147e054bb7c16af0.zip FreeBSD-src-1b91cdf6c751258b0a2f9f99147e054bb7c16af0.tar.gz |
MFC r315913: Add brackets to fix incorrect macro expansion.
Diffstat (limited to 'sys/dev/isp/ispmbox.h')
-rw-r--r-- | sys/dev/isp/ispmbox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h index e929e86..f672b42 100644 --- a/sys/dev/isp/ispmbox.h +++ b/sys/dev/isp/ispmbox.h @@ -1207,7 +1207,7 @@ typedef struct { #define ICB2400_VPINFO_OFF 0x80 /* offset from start of ICB */ #define ICB2400_VPINFO_PORT_OFF(chan) \ (ICB2400_VPINFO_OFF + \ - sizeof (isp_icb_2400_vpinfo_t) + (chan * ICB2400_VPOPT_WRITE_SIZE)) + sizeof (isp_icb_2400_vpinfo_t) + ((chan) * ICB2400_VPOPT_WRITE_SIZE)) #define ICB2400_VPGOPT_FCA 0x01 /* Assume Clean Address bit in FLOGI ACC set (works only in static configurations) */ #define ICB2400_VPGOPT_MID_DISABLE 0x02 /* when set, connection mode2 will work with NPIV-capable switched */ |