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-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html