Re: [PATCH 2/4] video: sm501fb: Improve a size determination in sm501fb_probe()

2018-04-26 Thread Bartlomiej Zolnierkiewicz
On Sunday, November 26, 2017 11:18:26 AM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 26 Nov 2017 10:22:37 +0100 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the

[PATCH 2/4] video: sm501fb: Improve a size determination in sm501fb_probe()

2017-11-26 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 26 Nov 2017 10:22:37 +0100 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style