[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADVatmNWhvCh3d0XAAOTQ0Cen2d=ghfrAvabVB8fOqHSt4duSg@mail.gmail.com>
Date: Mon, 28 Aug 2023 11:10:27 +0100
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org,
Arnd Bergmann <arnd@...nel.org>
Subject: Re: [PATCH] [v2] parport: mfc3: avoid empty-body warning
On Thu, 27 Jul 2023 at 13:24, Arnd Bergmann <arnd@...nel.org> wrote:
>
> From: Arnd Bergmann <arnd@...db.de>
>
> on m68k builds, the mfc3 driver causes a warning about an empty if() block:
>
> drivers/parport/parport_mfc3.c: In function 'control_pc_to_mfc3':
> drivers/parport/parport_mfc3.c:106:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
>
> Remove it in favor of a simpler comment.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Acked-by: Sudip Mukherjee <sudipm.mukherjee@...il.com>
--
Regards
Sudip
Powered by blists - more mailing lists