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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <6da89e4e-1f29-0dde-ad5b-a168f4cc1e85@wanadoo.fr>
Date:   Thu, 10 Dec 2020 19:01:36 +0100
From:   Christophe JAILLET <christophe.jaillet@...adoo.fr>
To:     Markus Elfring <Markus.Elfring@....de>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     kernel-janitors@...r.kernel.org,
        LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] cxl: Reduce scope for the variable “mm” in cxllib_get_PE_attributes()

Le 10/12/2020 à 17:04, Markus Elfring a écrit :
>>> A local variable was used only within an if branch.
>>> Thus move the definition for the variable “mm” into the corresponding
>>> code block.
>>
>> You did nothing here except add a checkpatch warning :(
> 
> elfring@...ne:~/Projekte/Linux/next-patched> scripts/checkpatch.pl /home/elfring/Projekte/Bau/Linux/scripts/Coccinelle/tuning1/next/20201204/Flicken/0001-cxl-Reduce-scope-for-the-variable-mm-in-cxllib_get_P.patch
> total: 0 errors, 0 warnings, 16 lines checked
> 
> Regards,
> Markus
> 

Maybe:
    script/checkpatch.pl -f drivers/misc/cxl/cxllib.c

?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ