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 2022/06/08 07:41:27 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6390: arch/sparc/bm3803: fix the using of uart1 and uart2

pkarashchenko commented on code in PR #6390:
URL: https://github.com/apache/incubator-nuttx/pull/6390#discussion_r892024239


##########
arch/sparc/src/bm3803/bm3803-serial.c:
##########
@@ -238,11 +238,15 @@ static uart_dev_t g_uart1port =
 {
   .recv      =
   {
+    .head = 0,
+    .tail = 0,

Review Comment:
   is sparc compiler not initing those values to zeroes by default? I think it should as this is a part if C standard



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