summaryrefslogtreecommitdiff
path: root/board/scb9328/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/scb9328/flash.c')
-rw-r--r--board/scb9328/flash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/scb9328/flash.c b/board/scb9328/flash.c
index e3a582f3dc..73bfa00eed 100644
--- a/board/scb9328/flash.c
+++ b/board/scb9328/flash.c
@@ -72,8 +72,10 @@ static FLASH_BUS_RET flash_status_reg (void)
FLASH_BUS *addr = (FLASH_BUS *) 0;
+ /* cppcheck-suppress nullPointer */
*addr = FLASH_CMD (CFI_INTEL_CMD_READ_STATUS_REGISTER);
+ /* cppcheck-suppress nullPointer */
return *addr;
}