From: Greg KH <gregkh@linuxfoundation.org>
To: trix@redhat.com
Cc: arnd@arndb.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] misc: altera-stapl: remove trailing semicolon in macro definition
Date: Fri, 27 Nov 2020 18:03:56 +0100 [thread overview]
Message-ID: <X8ExfFYVcwsbBa81@kroah.com> (raw)
In-Reply-To: <20201127165421.2692469-1-trix@redhat.com>
On Fri, Nov 27, 2020 at 08:54:21AM -0800, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
>
> The macro use will already have a semicolon.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
> drivers/misc/altera-stapl/altera-jtag.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/misc/altera-stapl/altera-jtag.c b/drivers/misc/altera-stapl/altera-jtag.c
> index 27e8e0c9e8cf..0238600107b0 100644
> --- a/drivers/misc/altera-stapl/altera-jtag.c
> +++ b/drivers/misc/altera-stapl/altera-jtag.c
> @@ -17,9 +17,9 @@
> #include "altera-jtag.h"
>
> #define alt_jtag_io(a, b, c)\
> - astate->config->jtag_io(astate->config->dev, a, b, c);
> + astate->config->jtag_io(astate->config->dev, a, b, c)
>
> -#define alt_malloc(a) kzalloc(a, GFP_KERNEL);
> +#define alt_malloc(a) kzalloc(a, GFP_KERNEL)
Ick, really? That macro should be removed entirely. Can you redo this
as a 2 patch series, the first for the alt_jtag_io() change, and the
other to remove all users of alt_malloc()?
thanks,
greg k-h
next prev parent reply other threads:[~2020-11-27 17:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-27 16:54 [PATCH] misc: altera-stapl: remove trailing semicolon in macro definition trix
2020-11-27 17:03 ` Greg KH [this message]
2020-11-27 17:42 ` Tom Rix
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=X8ExfFYVcwsbBa81@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=trix@redhat.com \
/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