summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8187se/r8180_wx.c
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2009-11-30 10:59:27 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-23 11:27:46 -0800
commitfa5c5f4ce0c9ba03a670c640cad17e14cb35678b (patch)
treeb0d5e18a0e01ffc29098ffdcc281ff2421568d39 /drivers/staging/rtl8187se/r8180_wx.c
parentd103bef45180892515345e761f42db5601de9846 (diff)
downloadop-kernel-dev-fa5c5f4ce0c9ba03a670c640cad17e14cb35678b.zip
op-kernel-dev-fa5c5f4ce0c9ba03a670c640cad17e14cb35678b.tar.gz
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>
Diffstat (limited to 'drivers/staging/rtl8187se/r8180_wx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud