aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorMike Snitzer <[email protected]>2020-11-13 22:52:28 +0000
committerMike Snitzer <[email protected]>2020-12-01 20:43:39 +0000
commit857c4c0a8b2888d806f4308c58f59a6a81a1dee9 (patch)
tree6f9563e538a9e4e2033b8c3f2767d06da35ce082 /scripts/gcc-plugins/structleak_plugin.c
parentdm table: Remove BUG_ON(in_interrupt()) (diff)
downloadkernel-857c4c0a8b2888d806f4308c58f59a6a81a1dee9.tar.gz
kernel-857c4c0a8b2888d806f4308c58f59a6a81a1dee9.zip
dm writecache: remove BUG() and fail gracefully instead
Building on arch/s390/ results in this build error: cc1: some warnings being treated as errors ../drivers/md/dm-writecache.c: In function 'persistent_memory_claim': ../drivers/md/dm-writecache.c:323:1: error: no return statement in function returning non-void [-Werror=return-type] Fix this by replacing the BUG() with an -EOPNOTSUPP return. Fixes: 48debafe4f2f ("dm: add writecache target") Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions