[PATCH 0/3] USB: serial: fix console error reporting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This should fix the remaining drivers that can be used as a console and that
reports in errors in their write paths which in combination could lead to a
loop. Rather than just ignoring those errors I added a dev_err_console macro
which prints the error only once when the port is used as a console.

These patches apply on top of the fix already sent for the generic
implementation (and that was marked for stable).

Thanks,
Johan


Johan Hovold (3):
  USB: serial: add macro for console error reporting
  USB: serial: use dev_err_console in generic write
  USB: serial: use dev_err_console in custom write paths

 drivers/usb/serial/cypress_m8.c       |    2 +-
 drivers/usb/serial/digi_acceleport.c  |    4 ++--
 drivers/usb/serial/generic.c          |    4 +---
 drivers/usb/serial/io_edgeport.c      |    4 ++--
 drivers/usb/serial/io_ti.c            |    4 ++--
 drivers/usb/serial/mos7720.c          |    4 ++--
 drivers/usb/serial/mos7840.c          |    4 ++--
 drivers/usb/serial/omninet.c          |    2 +-
 drivers/usb/serial/oti6858.c          |    6 +++---
 drivers/usb/serial/ti_usb_3410_5052.c |    5 ++---
 drivers/usb/serial/whiteheat.c        |    2 +-
 include/linux/usb/serial.h            |   15 +++++++++++++++
 12 files changed, 34 insertions(+), 22 deletions(-)

-- 
1.7.8.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux