You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/02/03 01:40:42 UTC

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #2791: stm32f7/stm32_qspi.c: Fix warning of format strings

no1wudi commented on a change in pull request #2791:
URL: https://github.com/apache/incubator-nuttx/pull/2791#discussion_r569051319



##########
File path: arch/arm/src/stm32f7/stm32_qspi.c
##########
@@ -1939,7 +1939,7 @@ static void qspi_setmode(struct qspi_dev_s *dev, enum qspi_mode_e mode)
         }
 
       qspi_putreg(priv, regval, STM32_QUADSPI_DCR_OFFSET);
-      spiinfo("DCR=%08x\n", regval);
+      spiinfo("DCR=%08lx\n", regval);

Review comment:
       Done




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org