+ fs-proc-utilc-include-fs-proc-internalh-for-name_to_int.patch added to -mm tree

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

 



The patch titled
     Subject: fs/proc/util.c: include fs/proc/internal.h for name_to_int()
has been added to the -mm tree.  Its filename is
     fs-proc-utilc-include-fs-proc-internalh-for-name_to_int.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/fs-proc-utilc-include-fs-proc-internalh-for-name_to_int.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/fs-proc-utilc-include-fs-proc-internalh-for-name_to_int.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: Eric Biggers <ebiggers@xxxxxxxxxx>
Subject: fs/proc/util.c: include fs/proc/internal.h for name_to_int()

name_to_int() is defined in fs/proc/util.c and declared in
fs/proc/internal.h, but the declaration isn't included at the point of the
definition.  Include the header to enforce that the definition matches the
declaration.

This addresses a gcc warning when -Wmissing-prototypes is enabled.

Link: http://lkml.kernel.org/r/20181115001833.49371-1-ebiggers@xxxxxxxxxx
Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
Reviewed-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/proc/util.c |    1 +
 1 file changed, 1 insertion(+)

--- a/fs/proc/util.c~fs-proc-utilc-include-fs-proc-internalh-for-name_to_int
+++ a/fs/proc/util.c
@@ -1,4 +1,5 @@
 #include <linux/dcache.h>
+#include "internal.h"
 
 unsigned name_to_int(const struct qstr *qstr)
 {
_

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

userfaultfd-convert-userfaultfd_ctx-refcount-to-refcount_t.patch
fs-proc-utilc-include-fs-proc-internalh-for-name_to_int.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