mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-01 04:14:28 +08:00
dfs:fix uninitialized 9pfs protocol lookup
This commit is contained in:
@@ -923,7 +923,7 @@ static int dfs_9pfs_mount(struct dfs_filesystem *fs,
|
|||||||
unsigned long rwflag, const void *data)
|
unsigned long rwflag, const void *data)
|
||||||
{
|
{
|
||||||
rt_ubase_t level;
|
rt_ubase_t level;
|
||||||
struct p9_protocol *p9p, *p9p_tmp;
|
struct p9_protocol *p9p = RT_NULL, *p9p_tmp;
|
||||||
struct p9_connection *conn = RT_NULL;
|
struct p9_connection *conn = RT_NULL;
|
||||||
|
|
||||||
if (!data)
|
if (!data)
|
||||||
|
|||||||
Reference in New Issue
Block a user