summaryrefslogtreecommitdiff
path: root/include/ipmitool/hpm2.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 22:59:06 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 22:59:06 +0200
commita7c8ed90be739a49937a229828c470f1ad01396e (patch)
tree4cd43ff357d98a1ce5afb3bb9449afcce5a299d1 /include/ipmitool/hpm2.h
parentfa5ac2da06fae952fe1295a1e955bdb35e6d86c4 (diff)
parent342ebce798fe98ede64939a49bbc3770d8214649 (diff)
Merge tag 'upstream/1.8.17'
Upstream version 1.8.17
Diffstat (limited to 'include/ipmitool/hpm2.h')
-rw-r--r--include/ipmitool/hpm2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ipmitool/hpm2.h b/include/ipmitool/hpm2.h
index 9e2a3a6..09b6237 100644
--- a/include/ipmitool/hpm2.h
+++ b/include/ipmitool/hpm2.h
@@ -43,7 +43,7 @@
* MSN = present revision,
* LSN = oldest revision parameter is
* 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 */
#define HPM2_CAPS_SOL_EXTENSION 0x01