in reply to Re^3: Supressing error messages on serial port open in Linux
in thread Supressing error messages on serial port open in Linux

This is a warning, not an error. See diagnostics. You can suppress that warning by disabling the warning:

no warnings 'once';