From 342ebce798fe98ede64939a49bbc3770d8214649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 8 May 2016 22:59:02 +0200 Subject: Imported Upstream version 1.8.17 --- include/ipmitool/hpm2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ipmitool/hpm2.h') 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 -- cgit v1.2.3