Subject: Re: [PATCH 1/1] af_unix.c: fix the compile warning in unix_bind

From: jing wang <[email-masked]>
Date: Fri, 26 Oct 2012 11:24:18 +0800

Thanks for your review and i'm sorry about this, the warning is :

CC net/unix/af_unix.o
net/unix/af_unix.c: In function 'unix_bind':
net/unix/af_unix.c:895: warning: 'path.dentry' may be used uninitialized 
in this function
net/unix/af_unix.c:895: warning: 'path.mnt' may be used uninitialized in 
this function

于 2012年10月26日 11:16, David Miller 写道:
> From: Jing Wang <[email-masked]>
> Date: Fri, 26 Oct 2012 10:48:47 +0800
>
>> Signed-off-by: Jing Wang <[email-masked]>
> What compile warning?  You need to describe what problem
> you are solving, rather than assume we can figure it out
> by reading your patch.
>
>> -
>> +
> This doesn't do anything and should be in your patch.