Re: [PATCH] drm/msm: use BUG_ON macro for debugging.

2019-12-31 Thread Sean Paul
On Mon, Dec 30, 2019 at 2:41 PM Wambui Karuga wrote: > > As the if statement only checks for the value of the offset_name > variable, it can be replaced by the more conscise BUG_ON macro for error > reporting. > > Signed-off-by: Wambui Karuga > --- > drivers/gpu/drm/msm/adreno/adreno_gpu.h | 5 +

[PATCH] drm/msm: use BUG_ON macro for debugging.

2019-12-31 Thread Wambui Karuga
As the if statement only checks for the value of the offset_name variable, it can be replaced by the more conscise BUG_ON macro for error reporting. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dr