You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "anchao (via GitHub)" <gi...@apache.org> on 2024/01/11 03:56:58 UTC

[PR] arm/armv8-r: fix compile warning [nuttx]

anchao opened a new pull request, #11523:
URL: https://github.com/apache/nuttx/pull/11523

   
   ## Summary
   
   arm/armv8-r: fix compile warning
   
   ```
   armv8-r/arm_gicv3.c: In function 'gic_validate_dist_version': armv8-r/arm_gicv3.c:730:9: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
     730 |   sinfo("GICD_TYPER = 0x%x\n", typer);
         |         ^~~~~~~~~~~~~~~~~~~~~  ~~~~~
         |                                |
         |                                uint32_t {aka long unsigned int}
   armv8-r/arm_gicv3.c:730:26: note: format string is defined here
     730 |   sinfo("GICD_TYPER = 0x%x\n", typer);
         |                         ~^
         |                          |
         |                          unsigned int
         |                         %lx
   ```
   
   ## Impact
   
   N/A
   
   ## Testing
   
   fvp-armv8r-aarch32/nsh


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


Re: [PR] arm/armv8-r: fix compile warning [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #11523:
URL: https://github.com/apache/nuttx/pull/11523


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