patacongo commented on PR #9063:
URL: https://github.com/apache/nuttx/pull/9063#issuecomment-1520188924

   > I find confusing to tag a static const with g_ as they are only passed to 
register_driver() and never reference them outside the module.
   
   The coding standard has always required that static const begin with the 
prefix g_  .  All code that I am aware is like this.  The code of this PR did 
not follow the coding standard.
   
   That is the way it has always been and I hope we do not change the coding 
standard and introduce such an inconsistency in the naming pattern.  g_ 
indicates the scope.  "static const" is irrelevant in this regard.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to