* Re: [PATCH] cxl: Reduce scope for the variable “mm” in cxllib_get_PE_attributes()
[not found] <5cee2b25-71e0-15aa-fba6-12211b8308aa@web.de>
@ 2020-12-10 14:47 ` Greg Kroah-Hartman
[not found] ` <507d607a-0551-ec11-e1dc-5b9c96a361cb@web.de>
0 siblings, 1 reply; 2+ messages in thread
From: Greg Kroah-Hartman @ 2020-12-10 14:47 UTC (permalink / raw)
To: Markus Elfring
Cc: linuxppc-dev, Andrew Donnellan, Arnd Bergmann, Frederic Barrat,
LKML, kernel-janitors
On Thu, Dec 10, 2020 at 03:35:38PM +0100, Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Thu, 10 Dec 2020 14:14:07 +0100
>
> 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 :(
dropped.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-10 18:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <5cee2b25-71e0-15aa-fba6-12211b8308aa@web.de>
2020-12-10 14:47 ` [PATCH] cxl: Reduce scope for the variable “mm” in cxllib_get_PE_attributes() Greg Kroah-Hartman
[not found] ` <507d607a-0551-ec11-e1dc-5b9c96a361cb@web.de>
2020-12-10 18:01 ` Christophe JAILLET
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®