[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <268311584.70313.1460542119095.JavaMail.open-xchange@www.ud-mail.de>
Date: Wed, 13 Apr 2016 12:08:38 +0200 (CEST)
From: Karol Herbst <nouveau@...olherbst.de>
To: Martin Peres <martin.peres@...e.fr>,
kbuild test robot <fengguang.wu@...el.com>
Cc: kbuild-all <kbuild-all@...org>, Ben Skeggs <bskeggs@...hat.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
David Airlie <airlied@...ux.ie>,
dri-devel <dri-devel@...ts.freedesktop.org>
Subject: Re: [PATCH] drm/nouveau/iccsense: fix ifnullfree.cocci warnings
> Martin Peres <martin.peres@...e.fr> hat am 13. April 2016 um 09:55
> geschrieben:
>
>
> On 13/04/16 10:07, kbuild test robot wrote:
> > drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c:133:2-7: WARNING: NULL
> > check before freeing functions like kfree, debugfs_remove,
> > debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider
> > reorganizing relevant code to avoid passing NULL values.
> >
> > NULL check before some freeing functions is not needed.
> >
> > Based on checkpatch warning
> > "kfree(NULL) is safe this check is probably not required"
> > and kfreeaddr.cocci by Julia Lawall.
> >
> > Generated by: scripts/coccinelle/free/ifnullfree.cocci
> >
> > CC: Karol Herbst <nouveau@...olherbst.de>
> > Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
> Signed-off-by: Martin Peres <martin.peres@...e.fr>
Signed-off-by: Karol Herbst <nouveau@...olherbst.de>
Powered by blists - more mailing lists