Skip to contentSkip to conversation

ARM: imx: Include linux/err.h

PATCH Applied Thierry Reding 2 participants 3 messages Sep 30, 2013 – Oct 5, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: imx: Include linux/err.h

The IS_ERR() macro is defined in the linux/err.h header file, so include it explicitly.

---
 arch/arm/mach-imx/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/cpu.c +1 -1
index fae2c9a..ba3b498 100644
@@ -1,4 +1,4 @@
-
+#include <linux/err.h>
 #include <linux/module.h>
 #include <linux/io.h>
 #include <linux/of.h>
Signature · 1 line
1.8.4
#1 lore raw
Quoted 2 lines · Thierry Reding

The IS_ERR() macro is defined in the linux/err.h header file, so include it explicitly.

Hmm, I can not find IS_ERR() in arch/arm/mach-imx/cpu.c

Shawn

Quoted 18 lines
---
 arch/arm/mach-imx/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/cpu.c +1 -1
index fae2c9a..ba3b498 100644
@@ -1,4 +1,4 @@
-
+#include <linux/err.h>
 #include <linux/module.h>
 #include <linux/io.h>
 #include <linux/of.h>
Signature · 1 line
1.8.4
Applied
#2 lore raw
Quoted 5 lines · Shawn Guo
Quoted 2 lines · Thierry Reding

The IS_ERR() macro is defined in the linux/err.h header file, so include it explicitly.

Hmm, I can not find IS_ERR() in arch/arm/mach-imx/cpu.c

Sorry, I did not look at the correct tree.

Applied, thanks.

Shawn