Skip to content
Commit a7a427d1 authored by Zhang Mingyu's avatar Zhang Mingyu Committed by Dominique Martinet
Browse files

9p: Use BUG_ON instead of if condition followed by BUG.

This issue was detected with the help of Coccinelle.

Link: https://lkml.kernel.org/r/20211112092547.9153-1-zhang.mingyu@zte.com.cn


Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarZhang Mingyu <zhang.mingyu@zte.com.cn>
Signed-off-by: default avatarDominique Martinet <asmadeus@codewreck.org>
parent 019641d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment