mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
Add brackets to fix incorrect macro expansion.
Reported by: Andreas Hollmann / PVS-Studio MFC after: 2 weeks
This commit is contained in:
parent
92bb425e4e
commit
00be964c08
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315913
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user