netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: brian.haley@hp.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] Fix af_key.c compiler warning
Date: Thu, 24 Apr 2008 20:39:08 -0700 (PDT)	[thread overview]
Message-ID: <20080424.203908.193706345.davem@davemloft.net> (raw)
In-Reply-To: <481147B2.3020801@hp.com>

From: Brian Haley <brian.haley@hp.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@hp.com>

I had been meaning to kill this one off myself, thanks for
taking care of this Brian.

Applied.

      reply	other threads:[~2008-04-25  3:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-25  2:53 [PATCH] Fix af_key.c compiler warning Brian Haley
2008-04-25  3:39 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080424.203908.193706345.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=brian.haley@hp.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).