Skip to content
Commit bb70913d authored by Jing Yangyang's avatar Jing Yangyang Committed by Juergen Gross
Browse files

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: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarJing Yangyang <jing.yangyang@zte.com.cn>
Reviewed-by: default avatarSeongJae Park <sjpark@amazon.de>
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20210825062451.69998-1-deng.changcheng@zte.com.cn


Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent b94e4b14
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment