提交 ce528c4c 编写于 作者: Y YueHaibing 提交者: Linus Torvalds

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.comSigned-off-by: NYueHaibing <yuehaibing@huawei.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 b556db17
......@@ -23,7 +23,7 @@
#include <linux/seq_file.h>
#include <linux/idr.h>
DEFINE_IDA(eventfd_ida);
static DEFINE_IDA(eventfd_ida);
struct eventfd_ctx {
struct kref kref;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册