Unverified Commit e9eb1460 authored by danh-arm's avatar danh-arm Committed by GitHub
Browse files

Merge pull request #1371 from antonio-nino-diaz-arm/an/fix-checkpatch

smccc: Fix checkpatch error in header file
parents 64af39d0 0c487ea4
Showing with 4 additions and 2 deletions
+4 -2
...@@ -14,8 +14,10 @@ ...@@ -14,8 +14,10 @@
#define SMCCC_VERSION_MINOR_SHIFT U(0) #define SMCCC_VERSION_MINOR_SHIFT U(0)
#define SMCCC_VERSION_MINOR_MASK U(0xFFFF) #define SMCCC_VERSION_MINOR_MASK U(0xFFFF)
#define MAKE_SMCCC_VERSION(_major, _minor) \ #define MAKE_SMCCC_VERSION(_major, _minor) \
( (((uint32_t)(_major) & SMCCC_VERSION_MAJOR_MASK) << SMCCC_VERSION_MAJOR_SHIFT) \ ((((uint32_t)(_major) & SMCCC_VERSION_MAJOR_MASK) << \
| (((uint32_t)(_minor) & SMCCC_VERSION_MINOR_MASK) << SMCCC_VERSION_MINOR_SHIFT)) SMCCC_VERSION_MAJOR_SHIFT) \
| (((uint32_t)(_minor) & SMCCC_VERSION_MINOR_MASK) << \
SMCCC_VERSION_MINOR_SHIFT))
#if SMCCC_MAJOR_VERSION == 1 #if SMCCC_MAJOR_VERSION == 1
# define SMCCC_MINOR_VERSION U(1) # define SMCCC_MINOR_VERSION U(1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment