[PATCH] fixup! mci: mci-core: add GPP support

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 14 14:00:57 EDT 2020


On Mon, Sep 14, 2020 at 05:04:30PM +0200, Ahmad Fatoum wrote:
> 1) use %zu for size_t argument, otherwise we read garbage on 64-bit CPUs
> 2) use xasprintf instead of risking null pointer deref on ENOMEM
> 
> Cc: Juergen Borleis <jbe at pengutronix.de>
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  drivers/mci/mci-core.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list