diff mbox series

[1/2] fs: d_path: include internal.h

Message ID 20230516195444.551461-1-arnd@kernel.org (mailing list archive)
State Accepted, archived
Headers show
Series [1/2] fs: d_path: include internal.h | expand

Commit Message

Arnd Bergmann May 16, 2023, 7:54 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

make W=1 warns about a missing prototype that is defined but
not visible at point where simple_dname() is defined:

fs/d_path.c:317:7: error: no previous prototype for 'simple_dname' [-Werror=missing-prototypes]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 fs/d_path.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Christian Brauner May 17, 2023, 7:18 a.m. UTC | #1
On Tue, 16 May 2023 21:54:38 +0200, Arnd Bergmann wrote:
> make W=1 warns about a missing prototype that is defined but
> not visible at point where simple_dname() is defined:
> 
> fs/d_path.c:317:7: error: no previous prototype for 'simple_dname' [-Werror=missing-prototypes]
> 
> 

Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc

[1/2] fs: d_path: include internal.h
      https://git.kernel.org/vfs/vfs/c/fb385a13fc9a
[2/2] fs: pipe: reveal missing function protoypes
      https://git.kernel.org/vfs/vfs/c/bf0603ebb9ee
diff mbox series

Patch

diff --git a/fs/d_path.c b/fs/d_path.c
index 56a6ee4c6331..5f4da5c8d5db 100644
--- a/fs/d_path.c
+++ b/fs/d_path.c
@@ -7,6 +7,7 @@ 
 #include <linux/slab.h>
 #include <linux/prefetch.h>
 #include "mount.h"
+#include "internal.h"
 
 struct prepend_buffer {
 	char *buf;