Static code scan issues seen in File: /drivers/serial/uart_native_posix.c
Category: Error handling issues
Function: open_tty
Component: Drivers
CID: 195872
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996