lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu,  7 Dec 2017 13:16:32 +0000 (UTC)
From:   Kalle Valo <>
To:     Colin Ian King <>
Cc:     Hin-Tak Leung <>,
        Larry Finger <>,,,,
Subject: Re: rtlwifi: rtl818x: remove redundant check for cck_power > 15

Colin Ian King <> wrote:

> From: Colin Ian King <>
> cck_poweri cannot be greated than 15 as is derived from the bottom 4 bits
> from riv->channels[channel - 1].hw_value & 0xf.  Hence the check for it
> being greater than 15 is redundant and can be removed.
> Detected by CoverityScan, CID#744303 ("Logically dead code")
> Signed-off-by: Colin Ian King <>

Patch applied to wireless-drivers-next.git, thanks.

45d9d1a12efa rtlwifi: rtl818x: remove redundant check for cck_power > 15


Powered by blists - more mailing lists