arm-trusted-firmware/include
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
..
bl1 Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl2 Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl2u Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl31 Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl32 Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
common Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
drivers Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
dt-bindings stm32mp1: Add device tree files 2018-07-24 17:18:35 +02:00
lib psci: put __dead2 attribute after void in plat_psci_ops 2018-11-09 18:21:51 +01:00
plat Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
services Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
tools_share Standardise header guards across codebase 2018-11-08 10:20:19 +00:00