audk/ArmPlatformPkg/Drivers
Ard Biesheuvel 60d9f5f43b ArmPlatformPkg/NorFlashDxe: eliminate void pointer arithmetic
While most compilers happily allow arithmetic on void pointer,
the RVCT compiler does not, and throws the following warning for
NorFlashDxe:

  ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.c(894,48) :
  error  #1254-D: arithmetic on pointer to void or function type

Since the expression in question involves a cast from UINTN to VOID*,
simply add some parentheses to eliminate this warning.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2016-10-24 17:23:44 +01:00
..
ArmTrustZone ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
LcdGraphicsOutputDxe ArmPlatformPkg/HdLcd: add missing LcdIdentify() 2015-09-04 10:02:43 +00:00
NorFlashDxe ArmPlatformPkg/NorFlashDxe: eliminate void pointer arithmetic 2016-10-24 17:23:44 +01:00
PL011Uart ArmPlatformPkg: Correct mendacious comments. 2016-10-11 14:23:41 +01:00
PL34xDmc ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
PL35xSmc ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
PL061GpioDxe ArmPlatformPkg: PL061: support multiple controller 2016-03-14 13:17:34 +00:00
PL180MciDxe ArmPlatformPkg/PL180MciDxe: don't check ID_REG3 2016-03-01 18:06:24 +00:00
PL301Axi ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
PL310L2Cache ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
SP804TimerDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
SP805WatchdogDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00