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 2022/07/28 13:55:30 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6728: w25qxxxjv.c: Ensure Quad SPI mode is enabled

pkarashchenko commented on code in PR #6728:
URL: https://github.com/apache/incubator-nuttx/pull/6728#discussion_r932250695


##########
drivers/mtd/w25qxxxjv.c:
##########
@@ -976,8 +1006,8 @@ static int w25qxxxjv_write_page(struct w25qxxxjv_dev_s *priv,
 
       if (ret < 0)
         {
-          ferr("ERROR: QSPI_MEMORY failed writing address=%06x\n",
-               address);
+          ferr("ERROR: QSPI_MEMORY failed writing address=%06jx\n",
+               (uintmax_t)address);

Review Comment:
   better to use `PRIxOFF` instead.



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

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