aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2018-11-09 18:21:51 +0100
committerYann Gautier <yann.gautier@st.com>2018-11-09 18:21:51 +0100
commit3c471c35812bc7863509dda1aedad08d35b48896 (patch)
treea3d847ea1ebe245cef402c04a59f5005b8f2cacc /drivers
parent9d068f66b15e644df4961b74b965323c20f21f14 (diff)
downloadplatform_external_arm-trusted-firmware-3c471c35812bc7863509dda1aedad08d35b48896.tar.gz
platform_external_arm-trusted-firmware-3c471c35812bc7863509dda1aedad08d35b48896.tar.bz2
platform_external_arm-trusted-firmware-3c471c35812bc7863509dda1aedad08d35b48896.zip
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions