Patch from abbotti@mev.co.uk (Ian Abbott):
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 19 Jun 2006 01:19:12 +0000 (01:19 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 19 Jun 2006 01:19:12 +0000 (01:19 +0000)
commit40626b9c761f8549f51e63115a900489e56ffcb8
treeedc51c898d23031e8f2d8685965ff4ab71490d4e
parentd85afbfd489d60ea5330a632a1e41838a7c9ffb3
Patch from abbotti@mev.co.uk (Ian Abbott):

The following driver files call ioremap() but do not check if the return value
is NULL:

cb_pcidas64.c
daqboard2000.c
dt3000.c
gsc_hpdi.c
me_daq.c
mite.c
rtd520.c
s626.c

The attached patch takes appropriate action if the return value from ioremap()
is NULL.  (In some cases, this also required the addition of a flag
'got_regions' to the device private data structure to record whether the PCI
regions need to be released.)

The patch also removes the antiquated requirement of the address passed to
ioremap() needing to be on a page boundary.
comedi/drivers/cb_pcidas64.c
comedi/drivers/daqboard2000.c
comedi/drivers/dt3000.c
comedi/drivers/gsc_hpdi.c
comedi/drivers/me_daq.c
comedi/drivers/mite.c
comedi/drivers/rtd520.c
comedi/drivers/s626.c