Re: 2.6.9-rc1: selinux/hooks.c: functions returning unassigned variables

From: David S. Miller (davem_at_redhat.com)
Date: 08/24/04

  • Next message: Roman Zippel: "Re: Shouldn't kconfig defaults match recommendations in help text?"
    Date:	Tue, 24 Aug 2004 11:50:46 -0700
    To: Stephen Smalley <sds@epoch.ncsc.mil>
    
    

    On Tue, 24 Aug 2004 11:41:45 -0400
    Stephen Smalley <sds@epoch.ncsc.mil> wrote:

    > On Tue, 2004-08-24 at 11:33, Adrian Bunk wrote:
    > > On Tue, Aug 24, 2004 at 08:19:28AM -0700, John Cherry wrote:
    > > >...
    > > > security/selinux/hooks.c:2825: warning: `ret' might be used uninitialized in this function
    > > > security/selinux/hooks.c:2886: warning: `ret' might be used uninitialized in this function
    > >
    > >
    > > This was
    > > [NET]: Add skb_header_pointer, and use it where possible.
    > >
    > >
    > > @Dave:
    > > In both functions ret is returned, but line that assigned a value to ret
    > > was removed.

    Good catch. Patch applied, thanks Stephen.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Roman Zippel: "Re: Shouldn't kconfig defaults match recommendations in help text?"

    Relevant Pages