]> git.baikalelectronics.ru Git - kernel.git/commit
svcrpc: fix bad argument in unix_domain_find
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 10 Mar 2011 03:40:30 +0000 (22:40 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 10 Mar 2011 03:40:30 +0000 (22:40 -0500)
commit907e9a259766254d2ded8c84228af5c32219d5c8
treea54ffeec78ed69035c4c99faa61e472230d14076
parent93c8ff7ca6ccdd9f07f0bcf8368dd3623e83a33e
svcrpc: fix bad argument in unix_domain_find

"After merging the nfsd tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

net/sunrpc/svcauth_unix.c: In function 'unix_domain_find':
net/sunrpc/svcauth_unix.c:58: warning: passing argument 1 of
+'svcauth_unix_domain_release' from incompatible pointer type
net/sunrpc/svcauth_unix.c:41: note: expected 'struct auth_domain *' but
argument
+is of type 'struct unix_domain *'

Introduced by commit 02ca62edd536 ("svcrpc: fix rare race on unix_domain
creation")."

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcauth_unix.c