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  linux-hardening  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:   Mon, 18 Feb 2019 16:40:57 +0800
From:   Chen-Yu Tsai <>
To:     Colin King <>
Cc:     Liam Girdwood <>,
        Mark Brown <>,,
        linux-kernel <>
Subject: Re: [PATCH][V3] regulator: axp20x: remove a redundant null check on rdev

On Fri, Feb 15, 2019 at 5:46 PM Colin King <> wrote:
> From: Colin Ian King <>
> Currently rdev is dereferenced when assigning desc before rdev is null
> checked, this is leading to static analysis warnings.  However, rdev
> can never be null, so the null check is redundant and can be removed.
> Detected by CoverityScan, CID#1476031 ("Dereference before null check")
> Fixes: 77e3e3b165db ("regulator: axp20x: add software based soft_start for AXP209 LDO3")
> Signed-off-by: Colin Ian King <>

Acked-by: Chen-Yu Tsai <>

Powered by blists - more mailing lists