Re: [PATCH v2] net: xfrm_user: use BUG_ON instead of if condition followed by BUG
From: Gustavo A. R. Silva
Date: Fri Oct 27 2017 - 16:56:42 EST
Quoting Steffen Klassert <steffen.klassert@xxxxxxxxxxx>:
On Thu, Oct 26, 2017 at 06:31:35AM -0500, Gustavo A. R. Silva wrote:
Use BUG_ON instead of if condition followed by BUG.
This issue was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <garsilva@xxxxxxxxxxxxxx>
Applied to ipsec-next, thanks Gustavo!
Glad to help. :)
Thank you
--
Gustavo A. R. Silva