From: SF Markus Elfring Date: Thu, 28 Jul 2016 16:00:24 +0000 Subject: Re: staging: wilc1000: Reduce scope for a few variables in mac_ioctl() Message-Id: List-Id: References: <1c4cac35-dded-ea88-45aa-3f8ac098289d@gmx.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Lino Sanfilippo Cc: LKML , kernel-janitors@vger.kernel.org, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Greg Kroah-Hartman , Steve Caldwell > Which circumstances do "not any sense at all" imply? Should the expression 'strlen("RSSI")' be passed for the parameter 'length' instead? > I suggest to fix this since it is indeed a bug, We can agree that this function implementation was broken for a while there. > instead of doing "micro optimizations" - which is the last thing that code in the staging area > needs (as IIRC you have already been told by others, including the staging maintainer). The acceptance might grow a bit more for such software fine-tuning (like refactoring around variable usage). Regards, Markus