[PATCH] parameter: include header for ERR_PTR and errno

Sascha Hauer s.hauer at pengutronix.de
Wed Mar 11 01:38:42 PDT 2015


On Tue, Mar 10, 2015 at 09:29:00PM +0100, Lucas Stach wrote:
> 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 at pengutronix.de>
> ---
> Sascha, please apply to master as the above commit is already there.

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list