+ eventfd-make-eventfd_ida-static.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: fs/eventfd.c: make eventfd_ida static
has been added to the -mm tree.  Its filename is
     eventfd-make-eventfd_ida-static.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/eventfd-make-eventfd_ida-static.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/eventfd-make-eventfd_ida-static.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: YueHaibing <yuehaibing@xxxxxxxxxx>
Subject: 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@xxxxxxxxxx
Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/eventfd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/eventfd.c~eventfd-make-eventfd_ida-static
+++ a/fs/eventfd.c
@@ -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;
_

Patches currently in -mm which might be from yuehaibing@xxxxxxxxxx are

lib-kconfigdebug-fix-build-error-without-config_block.patch
fs-proc-proc_sysctlc-fix-a-null-pointer-dereference.patch
eventfd-make-eventfd_ida-static.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux