mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-16 03:54:10 +00:00
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 <yuehaibing@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b556db17b0
commit
ce528c4c20
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue