diff options
author | Corentin Labbe <[email protected]> | 2019-11-21 08:14:45 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-12-04 13:36:16 +1000 |
commit | 4673402ebf9fc1712fb41cce6a808923481495f3 (patch) | |
tree | b902ee5d67a260b77c17f11139b51a3d1d16426f /lib/memory-notifier-error-inject.c | |
parent | 5f448266ce9632c5318a5dbbc024fc7951f089d7 (diff) |
ia64: agp: Replace empty define with do while
It's dangerous to use empty code define.
Furthermore it lead to the following warning:
drivers/char/agp/generic.c: In function « agp_generic_destroy_page »:
drivers/char/agp/generic.c:1266:28: attention : suggest braces around empty body in an « if » statement [-Wempty-body]
So let's replace emptyness by "do {} while(0)"
Signed-off-by: Corentin Labbe <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions