linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* checkpatch mistake on XA_STATE?
@ 2022-05-25 10:13 David Howells
  2022-05-25 15:03 ` Joe Perches
  2022-05-25 19:03 ` [PATCH] checkpatch: Add XA_STATE and XA_STATE_ORDER to the macro declaration list Joe Perches
  0 siblings, 2 replies; 4+ messages in thread
From: David Howells @ 2022-05-25 10:13 UTC (permalink / raw)
  To: Andy Whitcroft, Joe Perches; +Cc: dhowells, willy, linux-kernel

I see the following:

	WARNING: Missing a blank line after declarations
	#1921: FILE: fs/cifs/smb2ops.c:4684:
	+       struct folio *folio;
	+       XA_STATE(xas, buffer, 0);

but XA_STATE() technically *is* a declaration.

Should checkpatch treat it as such?

David


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-25 19:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25 10:13 checkpatch mistake on XA_STATE? David Howells
2022-05-25 15:03 ` Joe Perches
2022-05-25 15:34   ` Matthew Wilcox
2022-05-25 19:03 ` [PATCH] checkpatch: Add XA_STATE and XA_STATE_ORDER to the macro declaration list Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).