lkml.org 
[lkml]   [2009]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] pci: Make pci_dev struct point to NULL.
From
On 12/5/09, Alex Chiang <achiang@hp.com> wrote:
> * Rakib Mullick <rakib.mullick@gmail.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
>


\
 
 \ /
  Last update: 2009-12-05 06:49    [W:0.058 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site