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

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 08/24/04

  • Next message: Joerg Schilling: "Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices"
    Date:	Tue, 24 Aug 2004 17:33:43 +0200
    To: John Cherry <cherry@osdl.org>, "David S. Miller" <davem@redhat.com>
    
    

    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.

    *shrug*

    cu
    Adrian

    -- 
           "Is there not promise of rain?" Ling Tan asked suddenly out
            of the darkness. There had been need of rain for many days.
           "Only a promise," Lao Er said.
                                           Pearl S. Buck - Dragon Seed
    -
    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: Joerg Schilling: "Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices"

    Relevant Pages