RE: [PATCH 6/6] USB: serial: ftdi_sio: allow other bases for "event_char"

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

 



From: Ian Abbott
> Sent: 28 February 2017 12:51
> The 'store' function for the "event_char" device attribute currently
> expects a base 10 value.  The value is composed of an enable bit in bit
> 8 and an 8-bit "event character" code in bits 7 to 0.  It seems
> reasonable to allow hexadecimal and octal numbers to be written to the
> device attribute in addition to decimal.  Make it so.
...

Allowing octal might cause problems.

	David


--
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