aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netnode.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2019-09-06 15:24:29 +0000
committerAlexandre Belloni <[email protected]>2019-09-10 14:14:15 +0000
commitb99a3120f9a30e1429d8d634e18da8dff93340c6 (patch)
treed6ae850c3852bb21a40b342478960d12297cf08f /security/selinux/netnode.c
parentrtc: sc27xx: Remove clearing SPRD_RTC_POWEROFF_ALM_FLAG flag (diff)
downloadkernel-b99a3120f9a30e1429d8d634e18da8dff93340c6.tar.gz
kernel-b99a3120f9a30e1429d8d634e18da8dff93340c6.zip
rtc: meson: mark PM functions as __maybe_unused
The meson_vrtc_set_wakeup_time() function is only used by the PM functions and causes a warning when they are disabled: drivers/rtc/rtc-meson-vrtc.c:32:13: error: unused function 'meson_vrtc_set_wakeup_time' [-Werror,-Wunused-function] Remove the #ifdef around the callers and add a __maybe_unused annotation as a more reliable way to avoid these warnings. Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Kevin Hilman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions