mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 04:31:26 +00:00
Correct debug check
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4821 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2472,7 +2472,7 @@ static enum compl_status_e vdisk_exec_inquiry(struct vdisk_cmd_params *p)
|
||||
resp_len = buf[4] + 5;
|
||||
}
|
||||
|
||||
sBUG_ON(resp_len >= INQ_BUF_SZ);
|
||||
sBUG_ON(resp_len > INQ_BUF_SZ);
|
||||
|
||||
if (length > resp_len)
|
||||
length = resp_len;
|
||||
|
||||
Reference in New Issue
Block a user