linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] samples: watch_queue: depends on HEADERS_INSTALL
@ 2019-10-10 15:30 Randy Dunlap
  2019-10-11  7:54 ` David Howells
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2019-10-10 15:30 UTC (permalink / raw)
  To: LKML, David Howells

From: Randy Dunlap <rdunlap@infradead.org>

Building samples/watch_queue/ uses installed headers, so make it
depends on HEADERS_INSTALL to prevent a build error.

../samples/watch_queue/watch_test.c:23:10: fatal error: linux/watch_queue.h: No such file or directory

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: David Howells <dhowells@redhat.com>
---
 samples/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20191010.orig/samples/Kconfig
+++ linux-next-20191010/samples/Kconfig
@@ -171,6 +171,7 @@ config SAMPLE_VFS
 
 config SAMPLE_WATCH_QUEUE
 	bool "Build example /dev/watch_queue notification consumer"
+	depends on HEADERS_INSTALL
 	help
 	  Build example userspace program to use the new mount_notify(),
 	  sb_notify() syscalls and the KEYCTL_WATCH_KEY keyctl() function.



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

* Re: [PATCH -next] samples: watch_queue: depends on HEADERS_INSTALL
  2019-10-10 15:30 [PATCH -next] samples: watch_queue: depends on HEADERS_INSTALL Randy Dunlap
@ 2019-10-11  7:54 ` David Howells
  0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2019-10-11  7:54 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: dhowells, LKML

I've folded in this patch.

David

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

end of thread, other threads:[~2019-10-11  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-10 15:30 [PATCH -next] samples: watch_queue: depends on HEADERS_INSTALL Randy Dunlap
2019-10-11  7:54 ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).