[PATCH] parameter: include header for ERR_PTR and errno

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit 03b59bdb64e83e (paramter: The dev_add_param_*() return ERR_PTR(),
change no-ops to return ERR_PTR(-ENOSYS) instead of NULL) started using
ERR_PTR and errnos without including the relevant header.

This fixes the build for a lot of configurations.

Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
---
Sascha, please apply to master as the above commit is already there.
---
 include/param.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/param.h b/include/param.h
index bd2c0789968a..3a851fc552a4 100644
--- a/include/param.h
+++ b/include/param.h
@@ -1,6 +1,7 @@
 #ifndef PARAM_H
 #define PARAM_H
 
+#include <linux/err.h>
 #include <linux/types.h>
 #include <linux/list.h>
 
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux