Re: [PATCH] - adds missing checks in drivers/pci/probe.c.

From: Greg KH
Date: Fri Sep 24 2004 - 11:02:46 EST


On Mon, Sep 20, 2004 at 12:33:26PM -0300, Luiz Fernando N. Capitulino wrote:
>
> Hi Greg,
>
> I noticed drivers/pci/probe.c::pci_scan_bus_parented() has some functions which
> the return value is not checked.
>
> The patch bellow adds the check for device_register(), class_device_register(),
> class_device_create_file() and sysfs_create_link().
>
> (hope the error label names are not too ugly).
>
>
> Signed-off-by: Luiz Capitulino <lcapitulino@xxxxxxxxxxxxxxxx>

Applied, thanks.

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/