]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: jr3_pci: fix iomem dereference
authorIan Abbott <abbotti@mev.co.uk>
Thu, 27 Sep 2012 16:45:27 +0000 (17:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Oct 2012 15:27:24 +0000 (08:27 -0700)
commite451b6d10c4afa8244c02b731536bcad8800e6f7
tree33b547cb5c1085f9725b1e2c42814917fbe3c3d1
parent99f7fee77c389d4531e8cda9dbff60a60bdeea28
staging: comedi: jr3_pci: fix iomem dereference

commit e1878957b4676a17cf398f7f5723b365e9a2ca48 upstream.

Correct a direct dereference of I/O memory to use an appropriate I/O
memory access function.  Note that the pointer being dereferenced is not
currently tagged with `__iomem` but I plan to correct that for 3.7.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/jr3_pci.c