linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] wifi: rt2x00: remove impossible test condition
       [not found] <Y+S3bu19GWZeR9pm@ubun2204.myguest.virtualbox.org>
@ 2023-02-09 18:10 ` Stanislaw Gruszka
  0 siblings, 0 replies; only message in thread
From: Stanislaw Gruszka @ 2023-02-09 18:10 UTC (permalink / raw)
  To: Deepak R Varma
  Cc: Helmut Schaa, Kalle Valo, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, linux-wireless, netdev, linux-kernel,
	Saurabh Singh Sengar, Praveen Kumar

On Thu, Feb 09, 2023 at 02:35:50PM +0530, Deepak R Varma wrote:
> Variable vga_gain is a u8 and will never attain a value less than 0.
> Hence testing it for less 0 is impossible.
> Issue identified using unsigned_lesser_than_zero.cocci Coccinelle
> semantic patch. The issue was also reported by Kernel test Robot.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
> Signed-off-by: Deepak R Varma <drv@mailo.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-09 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Y+S3bu19GWZeR9pm@ubun2204.myguest.virtualbox.org>
2023-02-09 18:10 ` [PATCH] wifi: rt2x00: remove impossible test condition Stanislaw Gruszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).