diff options
author | Jing Yangyang <jing.yangyang@zte.com.cn> | 2021-08-24 23:24:51 -0700 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2021-08-30 12:04:53 +0200 |
commit | bb70913dceca050e8f4f60ba5361fcf62460df06 (patch) | |
tree | b62cb363fa154bf0267ecb914fdddedecf997137 /block | |
parent | b94e4b147fd1992ad450e1fea1fdaa3738753373 (diff) |
drivers/xen/xenbus/xenbus_client.c: fix bugon.cocci warnings
Use BUG_ON instead of a if condition followed by BUG.
Generated by: scripts/coccinelle/misc/bugon.cocci
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Jing Yangyang <jing.yangyang@zte.com.cn>
Reviewed-by: SeongJae Park <sjpark@amazon.de>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20210825062451.69998-1-deng.changcheng@zte.com.cn
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions