From: YueHaibing Date: Tue, 14 May 2019 22:45:22 +0000 (-0700) Subject: fs/eventfd.c: make eventfd_ida static X-Git-Tag: v5.2-rc1~62^2~37 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=ce528c4c20f94b48781a9bb9e32435d2b9782995;p=linux.git fs/eventfd.c: make eventfd_ida static Fix sparse warning: fs/eventfd.c:26:1: warning: symbol 'eventfd_ida' was not declared. Should it be static? Link: http://lkml.kernel.org/r/20190413142348.34716-1-yuehaibing@huawei.com Signed-off-by: YueHaibing Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/eventfd.c b/fs/eventfd.c index ce8fa15cebe5..93b1fa7bb298 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -23,7 +23,7 @@ #include #include -DEFINE_IDA(eventfd_ida); +static DEFINE_IDA(eventfd_ida); struct eventfd_ctx { struct kref kref;