[PATCH] EFI: add missing include

Sascha Hauer s.hauer at pengutronix.de
Wed Sep 3 06:54:23 PDT 2014


On Wed, Sep 03, 2014 at 03:18:15PM +0200, Michael Olbrich wrote:
> Otherwise building produces these warnings:
> [...]
> arch/efi/efi/efi-image.c:48:2: warning: implicit declaration of function 'read_file' [-Wimplicit-function-declaration]
> arch/efi/efi/efi-image.c:48:6: warning: assignment makes pointer from integer without a cast [enabled by default]
> [...]
> 
> And bootm fails for x86_64. The implicit declaration has an int as return
> value, so half of the returned address is lost.
> 
> Signed-off-by: Michael Olbrich <m.olbrich at pengutronix.de>

Applied, thanks

This is probably the last patch before the September Release.

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