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

Greg KH
2004-09-24T16:01:13Z

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@conectiva.com.br>

Applied, thanks.

greg k-h