WSL2-Linux-Kernel/drivers/staging/comedi
Ian Abbott fa5c5f4ce0 Staging: comedi: jr3_pci: Don't ioremap too much space. Check result.
For the JR3/PCI cards, the size of the PCIBAR0 region depends on the
number of channels.  Don't try and ioremap space for 4 channels if the
card has fewer channels.  Also check for ioremap failure.

Thanks to Anders Blomdell for input and Sami Hussein for testing.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-23 11:27:46 -08:00
..
drivers Staging: comedi: jr3_pci: Don't ioremap too much space. Check result. 2009-12-23 11:27:46 -08:00
kcomedilib Staging: comedi: Remove references to dead EXPORT_SYMTAB 2009-09-15 12:01:33 -07:00
Kconfig Staging: comedi: fix build on arches that don't want comedi drivers 2009-10-09 13:47:25 -07:00
Makefile Staging: comedi: remove RT code 2009-06-19 11:00:33 -07:00
TODO Staging: comedi: David doesn't want to get comedi patches 2009-05-08 19:39:28 -07:00
comedi.h Staging: comedi: removed "depricated" from COMEDI_CB_BLOCK 2009-12-23 11:27:45 -08:00
comedi_compat32.c Staging: comedi: Don't check for -ENOIOCTLCMD 2009-12-11 12:23:01 -08:00
comedi_compat32.h Staging: comedi: remove check for HAVE_COMPAT_IOCTL 2009-12-11 12:23:01 -08:00
comedi_fops.c Staging: comedi: remove check for HAVE_COMPAT_IOCTL 2009-12-11 12:23:01 -08:00
comedi_fops.h Staging: comedi: Add a module parameter 'comedi_autoconfig'. 2009-04-03 14:53:51 -07:00
comedi_ksyms.c Staging: comedi: Remove references to dead EXPORT_SYMTAB 2009-09-15 12:01:33 -07:00
comedidev.h Staging: comedi: comedidev.h: Fixed checkpatch.pl issues 2009-12-11 12:21:49 -08:00
comedilib.h Staging: Comedi: Lindent changes to comdi driver in staging tree 2009-09-15 12:01:33 -07:00
drivers.c Staging: comedi: drivers.c: checkpatch fix 2009-12-11 12:21:48 -08:00
pci_ids.h Staging: comedi: Convert C99 style comments to traditional style comments 2009-04-03 14:53:53 -07:00
proc.c Staging: Comedi: Lindent changes to comdi driver in staging tree 2009-09-15 12:01:33 -07:00
range.c Staging: Comedi: Lindent changes to comdi driver in staging tree 2009-09-15 12:01:33 -07:00
wrapper.h Staging: comedi: fix up a lot of checkpatch.pl warnings 2009-01-06 13:52:16 -08:00