commit | e688355bfeadf17ef522b1e62cc12f8e88e69667 | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Mon Feb 06 19:22:19 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 09 08:43:02 2012 -0800 |
tree | 468e72a4b8a7694163f257abcf2e892d2bc1042c | |
parent | d35e70d50a0641ebc1502fd343bef9b4011ada27 [diff] |
USB: serial: add macro for console error reporting Add macro which prints an error message only once if port is used a console. Reporting errors in a write path when port is used as a console could otherwise result in an infinite loop. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>