svcauth_unix.c: quiet sparse noise
Subsystems (4)
PATCH 1/1 svcauth_unix.c: quiet sparse noise
Like svcauth_unix, the symbol svcauth_null is used external from this file. Declare it as extern to quiet the following sparse noise:
warning: symbol 'svcauth_null' was not declared. Should it be static?
---
net/sunrpc/svcauth_unix.c +1 -0
@@ -36,6 +36,7 @@ struct unix_domain {/* other stuff later */ }; +extern struct auth_ops svcauth_null;extern struct auth_ops svcauth_unix;static void svcauth_unix_domain_release (struct auth_domain *dom)
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · H Hartley Sweeten
Like
svcauth_unix, the symbolsvcauth_nullis used external from this file. Declare it as extern to quiet the following sparse noise:warning: symbol '
svcauth_null' was not declared. Should it be static?
Also applying for 3.1.--b.
Quoted 14 lines
Signed-off-by H Hartley Sweeten <[email protected]>Cc Trond Myklebust <[email protected]>Cc "J. Bruce Fields" <[email protected]>Cc Neil Brown <[email protected]>Cc "David S. Miller" <davem-fT/PcQaiUtIeIZ0/[email protected]>---
net/sunrpc/svcauth_unix.c +0
-0
net/sunrpc/svcauth_unix.c struct unix_domain { · line 42
Quoted 7 lines
net/sunrpc/svcauth_unix.c +1
-0@@ -36,6 +36,7 @@ struct unix_domain {/* other stuff later */ }; +extern struct auth_ops svcauth_null;extern struct auth_ops svcauth_unix;static void svcauth_unix_domain_release (struct auth_domain *dom)
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html