From: Dan Carpenter <dan.carpenter@oracle.com>
To: chakravarthikulkarni <chakravarthikulkarni2021@gmail.com>
Cc: devel@driverdev.osuosl.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org,
"Gustavo A. R. Silva" <gustavo@embeddedor.com>
Subject: Re: [PATCH] staging: ks7010: Replace macros with do while loop.
Date: Mon, 22 Feb 2021 09:28:49 +0300 [thread overview]
Message-ID: <20210222062849.GN2087@kadam> (raw)
In-Reply-To: <20210221201327.12714-1-chakravarthikulkarni2021@gmail.com>
On Mon, Feb 22, 2021 at 01:43:24AM +0530, chakravarthikulkarni wrote:
> This commit fix errors found in checkpath.pl.
> Error message is:
> <Macros with complex values should be enclosed in parentheses.>
> It is a good idea to keep complex macros in do while loop.
> Otherwise result may have side effect.
>
> Signed-off-by: chakravarthikulkarni <chakravarthikulkarni2021@gmail.com>
This breaks the build.
Also just ignore this checkpatch warning. The original defines are
fine.
regards,
dan carpenter
prev parent reply other threads:[~2021-02-22 6:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-21 20:13 [PATCH] staging: ks7010: Replace macros with do while loop chakravarthikulkarni
2021-02-22 6:28 ` Dan Carpenter [this message]
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=20210222062849.GN2087@kadam \
--to=dan.carpenter@oracle.com \
--cc=chakravarthikulkarni2021@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=gustavo@embeddedor.com \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.