Return-path: Received: from mout.web.de ([212.227.15.3]:53054 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933616AbbGHIky (ORCPT ); Wed, 8 Jul 2015 04:40:54 -0400 Subject: Re: staging: wilc1000: One function call less in mac_ioctl() after error detection To: Greg Kroah-Hartman References: <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530DD06F.4090703@users.sourceforge.net> <5317A59D.4@users.sourceforge.net> <558EB32E.6090003@users.sourceforge.net> <558EB524.1050609@users.sourceforge.net> <20150707023150.GB22043@kroah.com> Cc: Chris Park , Dean Lee , Johnny Kim , Rachel Kim , linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Julia Lawall , kernel-janitors@vger.kernel.org, LKML From: SF Markus Elfring Message-ID: <559CE207.5000507@users.sourceforge.net> (sfid-20150708_104127_594167_D7BC0B0D) Date: Wed, 8 Jul 2015 10:40:39 +0200 MIME-Version: 1.0 In-Reply-To: <20150707023150.GB22043@kroah.com> Content-Type: text/plain; charset=windows-1252 Sender: linux-wireless-owner@vger.kernel.org List-ID: >> The kfree() function was called in two cases by the mac_ioctl() function >> during error handling even if the passed variable did not contain a pointer >> for a valid data item. >> >> * This implementation detail could be improved by the introduction >> of another jump label. >> >> * Drop an unnecessary initialisation for the variable "buff" then. > > That's a different issue, please fix it in a separate patch. I have got an other opinion here. This update suggestion depends on a small source code clean-up from the previous patch, doesn't it? Do you want that I split the second suggestion from this series into more steps? Regards, Markus