All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bcm47xx: fix build regression
@ 2017-05-30 11:20 Arnd Bergmann
  2017-05-31  9:15 ` Boris Brezillon
  2017-05-31  9:43 ` Arend van Spriel
  0 siblings, 2 replies; 9+ messages in thread
From: Arnd Bergmann @ 2017-05-30 11:20 UTC (permalink / raw)
  To: Rafał Miłecki
  Cc: Brian Norris, linux-mtd, linux-wireless, linux-kernel,
	linux-mips, Arnd Bergmann

An unknown change in the kernel headers caused a build regression
in an MTD partition driver:

In file included from drivers/mtd/bcm47xxpart.c:12:0:
include/linux/bcm47xx_nvram.h: In function 'bcm47xx_nvram_init_from_mem':
include/linux/bcm47xx_nvram.h:27:10: error: 'ENOTSUPP' undeclared (first use in this function)

Clearly we want to include linux/errno.h here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 include/linux/bcm47xx_nvram.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/bcm47xx_nvram.h b/include/linux/bcm47xx_nvram.h
index 2793652fbf66..a414a2b53e41 100644
--- a/include/linux/bcm47xx_nvram.h
+++ b/include/linux/bcm47xx_nvram.h
@@ -8,6 +8,7 @@
 #ifndef __BCM47XX_NVRAM_H
 #define __BCM47XX_NVRAM_H
 
+#include <linux/errno.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/vmalloc.h>
-- 
2.9.0

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

end of thread, other threads:[~2017-06-01 22:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-30 11:20 [PATCH] bcm47xx: fix build regression Arnd Bergmann
2017-05-31  9:15 ` Boris Brezillon
2017-05-31  9:43 ` Arend van Spriel
2017-05-31 10:21   ` Arnd Bergmann
2017-05-31 13:12     ` Paul E. McKenney
2017-05-31 13:34       ` Arnd Bergmann
2017-05-31 16:31         ` Paul E. McKenney
2017-05-31 19:30           ` Arend van Spriel
2017-06-01 22:16             ` Paul E. McKenney

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.