Fix warning: suggest parentheses around arithmetic in operand of '|' in include/ipmitool/hpm2

This commit is contained in:
Dennis Schridde 2016-04-11 16:23:04 +02:00
parent baa2c08ab3
commit 9fd4dedd37

View File

@ -43,7 +43,7 @@
* MSN = present revision, * MSN = present revision,
* LSN = oldest revision parameter is * LSN = oldest revision parameter is
* backward compatible with. */ * backward compatible with. */
#define LAN_PARAM_REV(x, y) ((x) << 4 | (y) & 0xF) #define LAN_PARAM_REV(x, y) (((x) << 4) | ((y) & 0xF))
/* HPM.2 capabilities */ /* HPM.2 capabilities */
#define HPM2_CAPS_SOL_EXTENSION 0x01 #define HPM2_CAPS_SOL_EXTENSION 0x01