All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] fs: d_path: include internal.h
@ 2023-05-16 19:54 Arnd Bergmann
  2023-05-16 19:56 ` [PATCH 2/2] fs: pipe: reveal missing function protoypes Arnd Bergmann
  2023-05-17  7:18 ` [PATCH 1/2] fs: d_path: include internal.h Christian Brauner
  0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2023-05-16 19:54 UTC (permalink / raw)
  To: Alexander Viro, Christian Brauner
  Cc: Arnd Bergmann, linux-fsdevel, linux-kernel

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(+)

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;
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-17  7:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-16 19:54 [PATCH 1/2] fs: d_path: include internal.h Arnd Bergmann
2023-05-16 19:56 ` [PATCH 2/2] fs: pipe: reveal missing function protoypes Arnd Bergmann
2023-05-17  7:18 ` [PATCH 1/2] fs: d_path: include internal.h Christian Brauner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.