[PATCH] staging: comedi: jr3_pci: return 'result' from comedi_pci_enable instead of -EIO

Yuanhan Liu yuanhan.liu at linux.intel.com
Mon Nov 5 05:19:02 UTC 2012


On Fri, Nov 02, 2012 at 11:35:50AM -0700, Greg Kroah-Hartman wrote:
> On Fri, Nov 02, 2012 at 10:46:36AM +0800, Yuanhan Liu wrote:
> > Fix a smatch warning:
> > drivers/staging/comedi/drivers/jr3_pci.c:793 jr3_pci_auto_attach() info: why not propagate 'result' from comedi_pci_enable() instead of -5?
> > 
> > CC: "Greg Kroah-Hartman" <gregkh at linuxfoundation.org>
> > CC: Fengguang Wu <fengguang.wu at intel.com>
> > Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
> > ---
> >  drivers/staging/comedi/drivers/jr3_pci.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> I get fuzz when applying this patch, which implies that you didn't do it
> against the latest linux-next release.

Yes, I made this patch based on linus/master.

> Care to redo it and resend it so
> it applies cleanly?

Sure. Will send it out soon.

Thanks.

	--yliu



More information about the devel mailing list