diff --git a/drivers/gpu/nvgpu/include/nvgpu/posix/bug.h b/drivers/gpu/nvgpu/include/nvgpu/posix/bug.h index 2d9fad1ef..995a9885e 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/posix/bug.h +++ b/drivers/gpu/nvgpu/include/nvgpu/posix/bug.h @@ -35,7 +35,7 @@ if (cond) { \ BUG(); \ } \ - } while (0) + } while (false) #define WARN(cond, msg, arg...) __warn(cond, msg, ##arg) #define WARN_ON(cond) __warn(cond, "")