mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
Fix warning: suggest parentheses around arithmetic in operand of '|' in include/ipmitool/hpm2
This commit is contained in:
parent
baa2c08ab3
commit
9fd4dedd37
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user