lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1ea2bb36-af47-4651-8f37-b72736ca0367@sirena.org.uk>
Date:   Mon, 24 Apr 2023 12:56:58 +0100
From:   Mark Brown <broonie@...nel.org>
To:     Yuchen Yang <u202114568@...t.edu.cn>
Cc:     Liam Girdwood <lgirdwood@...il.com>,
        Stephen Boyd <sboyd@...eaurora.org>,
        hust-os-kernel-patches@...glegroups.com,
        Dongliang Mu <dzm91@...t.edu.cn>,
        Liam Girdwood <lrg@...mlogic.co.uk>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: regulator: core: remove return value check of
 `rdev->debugfs`

On Mon, Apr 24, 2023 at 10:57:37AM +0800, Yuchen Yang wrote:
> Smatch complains that:
> rdev_init_debugfs() warn: 'rdev->debugfs' is an error pointer or valid
> 
> According to the documentation of the debugfs_create_dir() function, 
> there is no need to check the return value of this function.
> Just delete the dead code.

Please stop sending these patches.

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ