diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-09-08 04:57:21 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-08 20:50:25 +0200 |
commit | 5ecae8f6aafe6ae7c8fb10c3c175f85baf779814 (patch) | |
tree | 967a23e0295736a75e9766cd738c1c6d8c1f4e72 /Kconfig | |
parent | MAINTAINERS: update for DAMON (diff) | |
download | linux-5ecae8f6aafe6ae7c8fb10c3c175f85baf779814.tar.xz linux-5ecae8f6aafe6ae7c8fb10c3c175f85baf779814.zip |
alpha: agp: make empty macros use do-while-0 style
Copy these macros from ia64/include/asm/agp.h to avoid the
"empty-body" in 'if' statment warning.
drivers/char/agp/generic.c: In function 'agp_generic_destroy_page':
../drivers/char/agp/generic.c:1265:42: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
1265 | unmap_page_from_agp(page);
Link: https://lkml.kernel.org/r/20210809030822.20658-1-rdunlap@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions