mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00
Merge pull request #1371 from antonio-nino-diaz-arm/an/fix-checkpatch
smccc: Fix checkpatch error in header file
This commit is contained in:
commit
e9eb146012
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue