Re: [PATCH] HID: hidraw: Improve a size determination in two functions

2017-10-25 Thread Benjamin Tissoires
On Oct 24 2017 or thereabouts, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 24 Oct 2017 20:52:19 +0200 > > * Replace the specification of data structures by pointer dereferences > as the parameter for the operator "sizeof" to make the corresponding size > determination a bit s

[PATCH] HID: hidraw: Improve a size determination in two functions

2017-10-24 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 24 Oct 2017 20:52:19 +0200 * Replace the specification of data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue w