diff --git a/include/lib/smccc.h b/include/lib/smccc.h index 1e7af6ab8e10aa5db6c2693663eb560205a89cba..660c1dbd288b78bef827a8daac6754395d7bcd3c 100644 --- a/include/lib/smccc.h +++ b/include/lib/smccc.h @@ -14,8 +14,10 @@ #define SMCCC_VERSION_MINOR_SHIFT U(0) #define SMCCC_VERSION_MINOR_MASK U(0xFFFF) #define MAKE_SMCCC_VERSION(_major, _minor) \ - ( (((uint32_t)(_major) & SMCCC_VERSION_MAJOR_MASK) << SMCCC_VERSION_MAJOR_SHIFT) \ - | (((uint32_t)(_minor) & SMCCC_VERSION_MINOR_MASK) << SMCCC_VERSION_MINOR_SHIFT)) + ((((uint32_t)(_major) & SMCCC_VERSION_MAJOR_MASK) << \ + SMCCC_VERSION_MAJOR_SHIFT) \ + | (((uint32_t)(_minor) & SMCCC_VERSION_MINOR_MASK) << \ + SMCCC_VERSION_MINOR_SHIFT)) #if SMCCC_MAJOR_VERSION == 1 # define SMCCC_MINOR_VERSION U(1)