samples/vfio-mdev/mtty.c:592:39: warning: implicit conversion from 'int' to 'char' changes value from 162 to -94 [-Wconstant-conversion]
*buf = UART_MSR_DSR | UART_MSR_DDSR | UART_MSR_DCD;
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
1 warning generated.
Patch sent: https://lore.kernel.org/lkml/[email protected]/
Most helpful comment
Patch accepted: https://github.com/awilliam/linux-vfio/commit/8ba35b3a0046d6573c98f00461d9bd1b86250d35