mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Ensure the kernel component don't call userspace API
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Masayuki Ishikawa
parent
cf73496d9e
commit
9473434587
@@ -1693,7 +1693,7 @@ int usbmsc_exportluns(FAR void *handle)
|
||||
if (priv->thpid <= 0)
|
||||
{
|
||||
usbtrace(TRACE_CLSERROR(USBMSC_TRACEERR_THREADCREATE),
|
||||
(uint16_t)errno);
|
||||
(uint16_t)priv->thpid);
|
||||
goto errout_with_lock;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user