[U-Boot] [PATCH 1/1] ubi: no NULL check needed before kmem_cache_destroy

Heiko Schocher hs at denx.de
Mon Nov 20 16:27:42 UTC 2017


Hello Heinrich,

Am 08.11.2017 um 22:30 schrieb Heinrich Schuchardt:
> kmem_cache_destroy calls free which checks for NULL.
> 
> Problem was indicated by coccinelle.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>   drivers/mtd/ubi/attach.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)

applied to u-boot-ubi master

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list