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 2023/02/07 11:36:25 UTC

[GitHub] [nuttx-apps] anchao opened a new pull request, #1548: net: fix compiler warning

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

   
   ## Summary
   
   net: fix compiler warning
   
   ```bash
   sixlowpan_assocresp.c: In function ‘sixlowpan_assoc_resp’: sixlowpan_assocresp.c:48:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
      48 |   strncpy(arg.ifr_name, ifname, IFNAMSIZ);
         |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   ```
   
   Signed-off-by: chao an <an...@xiaomi.com>
   
   ## Impact
   
   N/A
   
   ## Testing
   
   sim/dynconns


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


[GitHub] [nuttx-apps] xiaoxiang781216 merged pull request #1548: net: fix compiler warning

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


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


[GitHub] [nuttx-apps] anchao commented on pull request #1548: net: fix compiler warning

Posted by "anchao (via GitHub)" <gi...@apache.org>.
anchao commented on PR #1548:
URL: https://github.com/apache/nuttx-apps/pull/1548#issuecomment-1420660477

   Please ignore the style error:
   
   ```bash
   ../nuttx/tools/checkpatch.sh -m -g 0f9642d403f7fadc32dcbd41320c4f2d93671566..HEAD
   Error: /home/runner/work/nuttx-apps/nuttx-apps/apps/examples/canardv1/socketcan.c:152:59: error: Mixed case identifier found
   Error: /home/runner/work/nuttx-apps/nuttx-apps/apps/examples/canardv1/socketcan.c:181:52: error: Mixed case identifier found
   Error: Process completed with exit code 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