aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2020-01-20 01:22:17 +0000
committerRich Felker <[email protected]>2020-06-01 18:48:50 +0000
commit4580ba4ad2e6b8ddaada3db61d179d4dfac12047 (patch)
tree28166b61899aecc228130aff988dc3ca4e117679 /lib/kobject.c
parentsh: Add missing DECLARE_EXPORT() for __ashiftrt_r4_xx (diff)
downloadkernel-4580ba4ad2e6b8ddaada3db61d179d4dfac12047.tar.gz
kernel-4580ba4ad2e6b8ddaada3db61d179d4dfac12047.zip
sh: Convert iounmap() macros to inline functions
Macro iounmap() do nothing, but that results in unused variable warnings all over the place. This patch convert it to inline to avoid warning We will get this warning without this patch ${LINUX}/drivers/thermal/broadcom/ns-thermal.c:78:21: \ warning: unused variable 'ns_thermal' [-Wunused-variable] struct ns_thermal *ns_thermal = platform_get_drvdata(pdev); ^~~~~~~~~~ Fixes: 98c90e5ea34e9 ("sh: remove __iounmap") Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Rich Felker <[email protected]>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions