From: Johan Hovold Date: Mon, 6 Feb 2012 18:22:19 +0000 (+0100) Subject: USB: serial: add macro for console error reporting X-Git-Tag: v3.4-rc1~184^2~22^2~121^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e688355bfeadf17ef522b1e62cc12f8e88e69667;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed