]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC, pnd2: Use proper I/O accessors and address space annotation
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Jun 2022 16:41:33 +0000 (19:41 +0300)
committerLee Jones <lee@kernel.org>
Thu, 14 Jul 2022 09:50:36 +0000 (10:50 +0100)
commit7b886cac072bc10308eddb859a905aaba30a1ca5
tree16befd31c62e079042a93bc8c44e00b073a08cc3
parent89d7989d3143e481dfb6f50598315ab9ad401aeb
EDAC, pnd2: Use proper I/O accessors and address space annotation

The driver uses rather voodoo kind of castings and I/O accessors.
Replace it with proper __iomem annotation and readl()/readq() calls.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Henning Schild <henning.schild@siemens.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/edac/pnd2_edac.c