Skip to contentSkip to conversation

dm: Fix build error when OF_CONTROL is not set

PATCH New Dan Murphy 2 participants 4 messages Jul 21, 2020 – Jul 23, 2020

lore
Share & tools
lore

Dan Murphy

author
#0 lore raw

PATCH 1/1 dm: Fix build error when OF_CONTROL is not set

With OF_CONTROL disabled the build fails for
include/dm/read.h:932:10: error: ?ENOTSUPP? undeclared (first use in this function)

Fixes 134f3c366d78 ("dm: core: gracefully handle alias seq without of")
---
 include/dm/read.h | 2 ++
 1 file changed, 2 insertions(+)
include/dm/read.h +2 -0
index f02ec9595413..b1a610854403 100644
@@ -9,6 +9,8 @@
 #ifndef _DM_READ_H
 #define _DM_READ_H
 
+#include <linux/errno.h>
+
 #include <dm/fdtaddr.h>
 #include <dm/ofnode.h>
 #include <dm/uclass.h>
Signature · 1 line
2.27.0
author
#1 lore raw

PATCH 1/1 dm: Fix build error when OF_CONTROL is not set

Hello

Quoted 4 lines · Dan Murphy

With OF_CONTROL disabled the build fails for
include/dm/read.h:932:10: error: ?ENOTSUPP? undeclared (first use in this function)

Fixes 134f3c366d78 ("dm: core: gracefully handle alias seq without of")

Need to fix this SHA.

Dan

#2 lore raw

PATCH 1/1 dm: Fix build error when OF_CONTROL is not set

In reply to Dan Murphy
Quoted 9 lines · Dan Murphy

With OF_CONTROL disabled the build fails for
include/dm/read.h:932:10: error: ?ENOTSUPP? undeclared (first use in this function)

Fixes 134f3c366d78 ("dm: core: gracefully handle alias seq without of")
---
 include/dm/read.h | 2 ++
 1 file changed, 2 insertions(+)
author
#3 lore raw

PATCH 1/1 dm: Fix build error when OF_CONTROL is not set

Simon

Quoted 10 lines · Simon Glass
Quoted 8 lines · Dan Murphy

With OF_CONTROL disabled the build fails for
include/dm/read.h:932:10: error: ?ENOTSUPP? undeclared (first use in this function)

Fixes 134f3c366d78 ("dm: core: gracefully handle alias seq without of")
---
  include/dm/read.h | 2 ++
  1 file changed, 2 insertions(+)

v2 needs to be taken as the Fixes tag is not correct in v1.

Dan