arm-trusted-firmware/include/lib
Yann Gautier 3c471c3581 psci: put __dead2 attribute after void in plat_psci_ops
These warnings were issued by sparse:
plat/st/stm32mp1/stm32mp1_pm.c:365:36:
 warning: incorrect type in initializer (different modifiers)
    expected void ( *[noreturn] pwr_domain_pwr_down_wfi )( ... )
    got void ( [noreturn] *<noident> )( ... )
plat/st/stm32mp1/stm32mp1_pm.c:366:23:
 warning: incorrect type in initializer (different modifiers)
    expected void ( *[noreturn] system_off )( ... )
    got void ( [noreturn] *<noident> )( ... )
plat/st/stm32mp1/stm32mp1_pm.c:367:25:
 warning: incorrect type in initializer (different modifiers)
    expected void ( *[noreturn] system_reset )( ... )
    got void ( [noreturn] *<noident> )( ... )

This cannot be changed the other way in all platforms pm drivers
or else there is a compilation error:
plat/st/stm32mp1/stm32mp1_pm.c:234:1: error: attributes should be specified
 before the declarator in a function definition

Signed-off-by: Yann Gautier <yann.gautier@st.com>
2018-11-09 18:21:51 +01:00
..
aarch32 Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
aarch64 Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
cpus Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
el3_runtime Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
extensions Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
libc Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
libfdt libfdt: Downgrade to version 1.4.6-9 2018-10-30 13:42:13 +00:00
pmf Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
psci psci: put __dead2 attribute after void in plat_psci_ops 2018-11-09 18:21:51 +01:00
xlat_tables Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
zlib Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bakery_lock.h bakery: Fix MISRA defects 2018-11-01 14:15:39 +00:00
cassert.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
coreboot.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
mmio.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
object_pool.h Introduce object pool allocator 2018-10-11 16:11:18 +02:00
optee_utils.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
runtime_instr.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
semihosting.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
smccc.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
smccc_v1.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
smccc_v2.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
spinlock.h bakery: Fix MISRA defects 2018-11-01 14:15:39 +00:00
utils.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
utils_def.h Fix misra warnings in delay timer and console drivers 2018-09-25 17:49:28 +01:00