]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add XA_STATE and XA_STATE_ORDER to the macro declaration list
authorJoe Perches <joe@perches.com>
Wed, 25 May 2022 19:03:17 +0000 (12:03 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 17 Jun 2022 02:58:19 +0000 (19:58 -0700)
commitb96ff9c3da67a0eaab3c5da2ae40bc804685fda6
treec13c1481678ca22d9fcfa216b94b2d75277f8113
parentb52d5a6d90c5addd271912240e89be49abd74565
checkpatch: add XA_STATE and XA_STATE_ORDER to the macro declaration list

XA_STATE() and XA_STATE_ORDER macro uses are declarations.

Add them to the declaration macro list to avoid suggesting a blank line
after declarations when used.

Link: https://lkml.kernel.org/r/144314f4bf2c58cf2336028a75a5127e848abd81.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: David Howells <dhowells@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl