Re: [patch] PCI: check the return value ofdevice_create_bin_file() in pci_create_bus()

From: Simon Horman
Date: Thu Aug 07 2008 - 19:00:08 EST


On Thu, Aug 07, 2008 at 09:50:50AM -0700, Jesse Barnes wrote:
> On Wednesday, August 6, 2008 9:56 pm Simon Horman wrote:
> > Check the return value of device_create_bin_file in pci_create_bus and
> > unwind if necessary. Don't propagate error to caller, as failure to create
> > these files shouldn't prevent PCI from being initialised. Instead, just
> > log a warning.
> >
> > Cc: Sven Wegener <sven.wegener@xxxxxxxxxxx>
> > Cc: Michael Ellerman <michael@xxxxxxxxxxxxxx>
> > Cc: Matthew Wilcox <matthew@xxxxxx>
> > Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
>
> Applied, thanks for your persistence, Simon! :)

Thanks, sorry for not getting it right much earlier.
--
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/