Re: [PATCH] af_key: make use of BUG_ON macro

2019-06-09 Thread David Miller
From: Hariprasad Kelam Date: Sat, 8 Jun 2019 14:30:50 +0530 > fix below warnings reported by coccicheck > > net/key/af_key.c:932:2-5: WARNING: Use BUG_ON instead of if condition > followed by BUG. > net/key/af_key.c:948:2-5: WARNING: Use BUG_ON instead of if condition > followed by BUG. > >

[PATCH] af_key: make use of BUG_ON macro

2019-06-08 Thread Hariprasad Kelam
fix below warnings reported by coccicheck net/key/af_key.c:932:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG. net/key/af_key.c:948:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG. Signed-off-by: Hariprasad Kelam --- net/key/af_key.c | 6 ++ 1 file