Donny9 commented on code in PR #8834:
URL: https://github.com/apache/nuttx/pull/8834#discussion_r1139918639
##########
arch/sim/src/sim/sim_uart.c:
##########
@@ -363,18 +363,19 @@ static int tty_ioctl(struct file *filep, int cmd,
unsigned long arg)
struct tty_priv_s *priv = dev->priv;
struct termios *termiosp = (struct termios *)(uintptr_t)arg;
- if (!termiosp)
- {
- return -EINVAL;
- }
-
Review Comment:
Done!
--
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]