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/10/19 19:51:30 UTC

[GitHub] [incubator-nuttx] davids5 edited a comment on pull request #4697: ioexpander/gpio: Remove the hardcode 100 limitation

davids5 edited a comment on pull request #4697:
URL: https://github.com/apache/incubator-nuttx/pull/4697#issuecomment-947054494


   yes. but you left the hardcoded 16 in the format `snprintf(devname, 16, fmt, (unsigned int)minor);`
   
   how about `sizeof(devname)-1`


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