[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201103164610.249af38c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 3 Nov 2020 16:46:10 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Lee Jones <lee.jones@...aro.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH 01/30] net: fddi: skfp: ecm: Protect 'if' when AIX_EVENT
is not defined
On Mon, 2 Nov 2020 11:44:43 +0000 Lee Jones wrote:
> When AIX_EVENT is not defined, the 'if' body will be empty, which
> makes GCC complain. Place bracketing around the invocation to protect
> it.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/net/fddi/skfp/ecm.c: In function ‘ecm_fsm’:
> drivers/net/fddi/skfp/ecm.c:153:29: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: Jakub Kicinski <kuba@...nel.org>
> Cc: netdev@...r.kernel.org
> Signed-off-by: Lee Jones <lee.jones@...aro.org>
Okay, I applied most of these, but please don't post series larger than
15 patches in the future. Also each patch series should have a cover
letter.
I did not apply:
- wimax - it should go to staging
- tulip - does not apply
- lan79xx - has checkpatch warnings
- smsc - I'm expecting a patch from Andew there
Powered by blists - more mailing lists