aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorStephen Rothwell <[email protected]>2022-07-21 13:11:32 +1000
committerJens Axboe <[email protected]>2022-08-02 17:22:46 -0600
commit2198c51a08349eb176cb9789bef6f7243b8699f8 (patch)
tree20191e9ab60e17f0b3e6a39b751ccfe05cb28780 /net/lapb/lapb_timer.c
parenta20d636bee41ea67b382207bee216e70f7206752 (diff)
md: fix build failure for !MODULE
After merging the block tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/md/md.c:717:22: error: 'mddev_find' defined but not used [-Werror=unused-function] 717 | static struct mddev *mddev_find(dev_t unit) | ^~~~~~~~~~ cc1: all warnings being treated as errors Caused by commit 4500d5c17910 ("md: simplify md_open") Make mddev_find() available only for non-modular builds. Signed-off-by: Stephen Rothwell <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions