Re: [PATCH] pci: Make pci_dev struct point to NULL.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/5/09, Alex Chiang <achiang@xxxxxx> wrote:
> * Rakib Mullick <rakib.mullick@xxxxxxxxx>:
>  >
>
> > 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-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux