[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080424.203908.193706345.davem@davemloft.net>
Date: Thu, 24 Apr 2008 20:39:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: brian.haley@...com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] Fix af_key.c compiler warning
From: Brian Haley <brian.haley@...com>
Date: Thu, 24 Apr 2008 22:53:38 -0400
> net/key/af_key.c: In function ‘pfkey_spddelete’:
> net/key/af_key.c:2359: warning: ‘pol_ctx’ may be used uninitialized in
> this function
>
> When CONFIG_SECURITY_NETWORK_XFRM isn't set,
> security_xfrm_policy_alloc() is an inline that doesn't set pol_ctx, so
> this seemed like the easiest fix short of using *uninitialized_var(pol_ctx).
>
> Signed-off-by: Brian Haley <brian.haley@...com>
I had been meaning to kill this one off myself, thanks for
taking care of this Brian.
Applied.
Powered by blists - more mailing lists