jerpelea commented on code in PR #16466:
URL: https://github.com/apache/nuttx/pull/16466#discussion_r2139921332


##########
drivers/serial/serial.c:
##########
@@ -901,6 +901,11 @@ static ssize_t uart_readv(FAR struct file *filep, FAR 
struct uio *uio)
 #ifdef CONFIG_SERIAL_IFLOWCONTROL_WATERMARKS
   unsigned int nbuffered;
   unsigned int watermark;
+#  ifndef CONFIG_ARCH_LD_16BIT_NOT_ATOMIC
+  int16_t head;

Review Comment:
   Because it fixes different bug (on all architectures.) I will reorder 
   the patches to make that more obvious and to have the less intrusive one 
   be the first in case it turns out that the second one needs to be 
   reverted.



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