You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/02/26 13:32:08 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on pull request #8658: Fix error: '%s' directive output may be truncated

xiaoxiang781216 commented on PR #8658:
URL: https://github.com/apache/nuttx/pull/8658#issuecomment-1445363059

   > Are there any limitations for `pinname` string length? I mean, I do not fully understand the fix.
   
   gpio_pin_register defines a local char array with 32bytes and forward this array to gpio_pin_register_byname, so compiler assume that pinname may have 32bytes long in extreme case.


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