[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b9df5fa10912042147s2ef7e4c9g538a9301c111964c@mail.gmail.com>
Date: Sat, 5 Dec 2009 11:47:15 +0600
From: Rakib Mullick <rakib.mullick@...il.com>
To: Alex Chiang <achiang@...com>
Cc: Jesse Barnes <jbarnes@...tuousgeek.org>, linux-pci@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] pci: Make pci_dev struct point to NULL.
On 12/5/09, Alex Chiang <achiang@...com> wrote:
> * Rakib Mullick <rakib.mullick@...il.com>:
> >
>
> > Since *pdev might be uninitialized. But if we are sure that it
> > is not uninitialized then it is okay.
> >
> > And yes - althrough we weren't warned by the compiler.
>
> At no point that I can tell do we ever access an uninitialized
> 'dev'.
>
> Please explain to me one more time what you think you are fixing.
>
Ahh......... I miss the point that we haven't __access__ the uninitialized
pointer. I was messing up with it __remains__ uninitialized ( it was a
clear stupidity from me :-( ).
Thanks, Alex for your help.
Rakib,
> Thanks,
>
> /ac
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists