From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Markus Elfring <Markus.Elfring@web.de>
Cc: Andrew Donnellan <ajd@linux.ibm.com>,
Arnd Bergmann <arnd@arndb.de>,
kernel-janitors@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>,
Frederic Barrat <fbarrat@linux.ibm.com>,
linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] cxl: Reduce scope for the variable “mm” in cxllib_
Date: Thu, 10 Dec 2020 14:47:52 +0000 [thread overview]
Message-ID: <X9I1GLYCkw/q/xMu@kroah.com> (raw)
In-Reply-To: <5cee2b25-71e0-15aa-fba6-12211b8308aa@web.de>
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
next parent reply other threads:[~2020-12-10 14:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5cee2b25-71e0-15aa-fba6-12211b8308aa@web.de>
2020-12-10 14:47 ` Greg Kroah-Hartman [this message]
[not found] ` <507d607a-0551-ec11-e1dc-5b9c96a361cb@web.de>
2020-12-10 18:01 ` [PATCH] cxl: Reduce scope for the variable =?UTF-8?B?4oCcbW3igJ0gaW4gY3hsbG Christophe JAILLET
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=X9I1GLYCkw/q/xMu@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=Markus.Elfring@web.de \
--cc=ajd@linux.ibm.com \
--cc=arnd@arndb.de \
--cc=fbarrat@linux.ibm.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).