public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [nfs:nfs-for-bryan 100/100] net/sunrpc/auth_gss/gss_mech_switch.c:252:5: sparse: context imbalance i
@ 2012-07-17  0:14 Fengguang Wu
  2012-07-17  0:52 ` [nfs:nfs-for-bryan 100/100] net/sunrpc/auth_gss/gss_mech_switch.c:252:5: sparse: context imbalan Chuck Lever
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-07-17  0:14 UTC (permalink / raw)
  To: Chuck Lever; +Cc: kernel-janitors, Linux-NFS

Hi Chuck,

There are new sparse warnings (likely a true locking bug) show up in

tree:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git nfs-for-bryan
head:   6a1a1e34dc55f17e7bd260809207442dbb7a0296
commit: 6a1a1e34dc55f17e7bd260809207442dbb7a0296 [100/100] SUNRPC: Add rpcauth_list_flavors()

All sparse warnings:

  net/sunrpc/auth_gss/gss_mech_switch.c:143:21: sparse: symbol '_gss_mech_get_by_name' was not declared. Should it be static?
  net/sunrpc/auth_gss/gss_mech_switch.c:208:21: sparse: symbol '_gss_mech_get_by_pseudoflavor' was not declared. Should it be static?
+ net/sunrpc/auth_gss/gss_mech_switch.c:252:5: sparse: context imbalance in 'gss_mech_list_pseudoflavors' - wrong count at exit

vim +252 net/sunrpc/auth_gss/gss_mech_switch.c
   249	 * The returned array is not sorted by any policy.  Callers should not
   250	 * rely on the order of the items in the returned array.
   251	 */
 > 252	int gss_mech_list_pseudoflavors(rpc_authflavor_t *array_ptr, int size)
   253	{
   254		struct gss_api_mech *pos = NULL;
   255		int j, i = 0;

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com>                     Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-17  0:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-17  0:14 [nfs:nfs-for-bryan 100/100] net/sunrpc/auth_gss/gss_mech_switch.c:252:5: sparse: context imbalance i Fengguang Wu
2012-07-17  0:52 ` [nfs:nfs-for-bryan 100/100] net/sunrpc/auth_gss/gss_mech_switch.c:252:5: sparse: context imbalan Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox