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/08/09 20:54:40 UTC

[GitHub] [incubator-nuttx] gustavonihei commented on a change in pull request #4305: mtd/smartfs: Fix compilation warning

gustavonihei commented on a change in pull request #4305:
URL: https://github.com/apache/incubator-nuttx/pull/4305#discussion_r685514037



##########
File path: drivers/mtd/smart.c
##########
@@ -856,7 +856,8 @@ static ssize_t smart_reload(struct smart_struct_s *dev, FAR uint8_t *buffer,
 
   /* Read the full erase block into the buffer */
 
-  finfo("Read %d blocks starting at block %d\n", mtdblocks, mtdstartblock);
+  finfo("Read %" PRIdOFF "blocks starting at block %" PRIdOFF "\n",

Review comment:
       ```suggestion
     finfo("Read %" PRIdOFF " blocks starting at block %" PRIdOFF "\n",
   ```
   Missing whitespace after the offset value.




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