Re: [PATCH] ath11k: fix bugon.cocci warnings

From: Kalle Valo
Date: Fri Mar 08 2019 - 07:49:39 EST


Julia Lawall <julia.lawall@xxxxxxx> writes:

> From: kbuild test robot <lkp@xxxxxxxxx>
>
> Use BUG_ON instead of if condition followed by BUG.
>
> Generated by: scripts/coccinelle/misc/bugon.cocci
>
> Fixes: c105b7abf400 ("ath11k: collect DDR dump after fw crash")
> CC: Venkateswara Naralasetty <vnaralas@xxxxxxxxxxxxxx>
> Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
> Signed-off-by: Julia Lawall <julia.lawall@xxxxxxx>

Applied, thanks.

--
Kalle Valo