All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] char: nwbutton: Fix build breakage caused by include file reshuffling
@ 2017-03-06  1:13 Guenter Roeck
  2017-03-07  9:08 ` [tip:core/urgent] drivers/char/nwbutton: " tip-bot for Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2017-03-06  1:13 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Greg Kroah-Hartman, linux-kernel, Guenter Roeck, Ingo Molnar

Fix:

drivers/char/nwbutton.c: In function 'button_sequence_finished':
drivers/char/nwbutton.c:134:3: error:
	implicit declaration of function 'kill_cad_pid'

The declaration has been moved from one include file to another.

Fixes: c3edc4010e9d102 ("sched/headers: Move task_struct::signal and ...")
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/char/nwbutton.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/nwbutton.c b/drivers/char/nwbutton.c
index a5b1eb276c0b..e6d0d271c58c 100644
--- a/drivers/char/nwbutton.c
+++ b/drivers/char/nwbutton.c
@@ -6,7 +6,7 @@
 
 #include <linux/module.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
+#include <linux/sched/signal.h>
 #include <linux/interrupt.h>
 #include <linux/time.h>
 #include <linux/timer.h>
-- 
2.7.4

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

* [tip:core/urgent] drivers/char/nwbutton: Fix build breakage caused by include file reshuffling
  2017-03-06  1:13 [PATCH] char: nwbutton: Fix build breakage caused by include file reshuffling Guenter Roeck
@ 2017-03-07  9:08 ` tip-bot for Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Guenter Roeck @ 2017-03-07  9:08 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux, linux-kernel, arnd, mingo, peterz, torvalds, gregkh, hpa, tglx

Commit-ID:  bb35e4515411396219431fa235bf21bf9c2794e9
Gitweb:     http://git.kernel.org/tip/bb35e4515411396219431fa235bf21bf9c2794e9
Author:     Guenter Roeck <linux@roeck-us.net>
AuthorDate: Sun, 5 Mar 2017 17:13:31 -0800
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 7 Mar 2017 08:35:49 +0100

drivers/char/nwbutton: Fix build breakage caused by include file reshuffling

Fix:

  drivers/char/nwbutton.c: In function 'button_sequence_finished':
  drivers/char/nwbutton.c:134:3: error: implicit declaration of function 'kill_cad_pid'

The declaration has been moved from one include file to another.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: c3edc4010e9d102 ("sched/headers: Move task_struct::signal and ...")
Link: http://lkml.kernel.org/r/1488762811-9022-1-git-send-email-linux@roeck-us.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 drivers/char/nwbutton.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/nwbutton.c b/drivers/char/nwbutton.c
index a5b1eb2..e6d0d27 100644
--- a/drivers/char/nwbutton.c
+++ b/drivers/char/nwbutton.c
@@ -6,7 +6,7 @@
 
 #include <linux/module.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
+#include <linux/sched/signal.h>
 #include <linux/interrupt.h>
 #include <linux/time.h>
 #include <linux/timer.h>

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

end of thread, other threads:[~2017-03-07  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-06  1:13 [PATCH] char: nwbutton: Fix build breakage caused by include file reshuffling Guenter Roeck
2017-03-07  9:08 ` [tip:core/urgent] drivers/char/nwbutton: " tip-bot for Guenter Roeck

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.