Re: [PATCH] fix warning in pci_slot

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

 



On Tuesday, July 22, 2008 1:56 pm Alex Chiang wrote:
> * Matthew Wilcox <matthew@xxxxxx>:
> > I get warnings about 'device' possibly being used uninitialised.  While I
> > can deduce this is not true, it seems that GCC can't.  This patch changes
> > `check_slot' to return device on success and -1 on error, which shuts
> > GCC up.
> >
> > Signed-off-by: Matthew Wilcox <willy@xxxxxxxxxxxxxxx>
>
> Perhaps a more meaningful patch title, like:
>
> 	fix bogus "'device' may be used uninitialized" warning in pci_slot
>
> But otherwise,
>
> Acked-by: Alex Chiang <achiang@xxxxxx>

Applied, thanks.

Jesse
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux