Re: [PATCH 2/3] Add EVPD page 0x83 to sysfs

Bart Van Assche
2014-03-02T08:36:38Z

On 02/13/14 11:28, Hannes Reinecke wrote:
> - return 0;
> + return (buffer[2] << 8) + buffer[3] + 4;

Has it been considered to use get_unaligned_be16() instead of open
coding this function ?

Bart.