Thread (5 messages) 5 messages, 2 authors, 2018-04-26

Re: [PATCH 2/2] video: fbdev-MMP: Improve a size determination in path_init()

From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2018-04-26 10:10:51
Also in: dri-devel, kernel-janitors, lkml

On Sunday, November 26, 2017 09:43:52 PM SF Markus Elfring wrote:
From: Markus Elfring <redacted>
Date: Sun, 26 Nov 2017 21:21:33 +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 convention.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <redacted>
Patch queued for 4.18, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help