]> git.baikalelectronics.ru Git - kernel.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>
Thu, 27 Sep 2012 17:06:36 +0000 (10:06 -0700)
commitd70b891641826b0b335229fbe862432b90969dbb
tree506af63e74c52be845f6bb3c39cfa6515dfd2b1b
parent2017e5142fedd5d78b862c5e8c564f51eb8c1c6f
staging: comedi: jr3_pci: fix iomem dereference

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.

Cc: stable <stable@vger.kernel.org>
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