Add parenthesis for a macro to prevent surprises when it is negated.
This commit is contained in:
parent
b573c5e0d5
commit
a05bf9d163
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: isp_netbsd.h,v 1.74 2011/07/17 20:54:51 joerg Exp $ */
|
||||
/* $NetBSD: isp_netbsd.h,v 1.75 2015/08/28 13:03:36 joerg Exp $ */
|
||||
/*
|
||||
* NetBSD Specific definitions for the Qlogic ISP Host Adapter
|
||||
*/
|
||||
@ -252,7 +252,7 @@ default: \
|
||||
# define HBA_ARQFAIL XS_DRIVER_STUFFUP
|
||||
|
||||
#define XS_ERR(xs) (xs)->error
|
||||
#define XS_NOERR(xs) (xs)->error == XS_NOERROR
|
||||
#define XS_NOERR(xs) ((xs)->error == XS_NOERROR)
|
||||
#define XS_INITERR(xs) (xs)->error = 0, XS_CMD_S_CLEAR(xs)
|
||||
|
||||
#define XS_SAVE_SENSE(xs, ptr, len) \
|
||||
|
Loading…
Reference in New Issue
Block a user