]> git.baikalelectronics.ru Git - kernel.git/commit
9p: Use BUG_ON instead of if condition followed by BUG.
authorZhang Mingyu <zhang.mingyu@zte.com.cn>
Fri, 12 Nov 2021 09:25:47 +0000 (09:25 +0000)
committerDominique Martinet <asmadeus@codewreck.org>
Mon, 10 Jan 2022 01:00:09 +0000 (10:00 +0900)
commit63bdbd3899798854044ab66c2860f229e22d7538
treed87ac4dd7d5d024735d706889ccf29c901bacaff
parent3e1a4fbd9cd53b56c34ad91875f7c87e55abc308
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: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Zhang Mingyu <zhang.mingyu@zte.com.cn>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
fs/9p/vfs_file.c