[PATCH] staging: comedi: jr3_pci: return 'result' from comedi_pci_enable instead of -EIO
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Fri Nov 2 18:35:50 UTC 2012
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. Care to redo it and resend it so
it applies cleanly?
thanks,
greg k-h
More information about the devel
mailing list