Re: [PATCH] checkpatch: HLIST_HEAD is also declaration

From: Joe Perches
Date: Wed Jun 14 2017 - 06:45:42 EST


(drat, accidentally hit ctrl-enter)

On Wed, 2017-06-14 at 03:41 -0700, Joe Perches wrote:
> On Wed, 2017-06-14 at 12:16 +0200, Steffen Maier wrote:
> > Fixes the following false warning:
> >
> > WARNING: Missing a blank line after declarations
> > #71: FILE: drivers/s390/scsi/zfcp_fsf.c:422:
> > + struct hlist_node *tmp;
> > + HLIST_HEAD(remove_queue);
> >
> > Signed-off-by: Steffen Maier <maier@xxxxxxxxxxxxxxxxxx>

OK, thanks but what about the other defines of
LLIST_HEAD, PLIST_HEAD, SLIST_HEAD ?