From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Date: Thu, 26 Apr 2018 10:15:38 +0000 Subject: Re: [PATCH 2/4] video: sm501fb: Improve a size determination in sm501fb_probe() Message-Id: <1859038.Xq2p7m02WJ@amdc3058> List-Id: References: <08ed1e90-5714-04b7-b3dc-067a3d9bc38b@users.sourceforge.net> In-Reply-To: <08ed1e90-5714-04b7-b3dc-067a3d9bc38b@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring Cc: linux-fbdev@vger.kernel.org, kernel-janitors@vger.kernel.org, LKML , dri-devel@lists.freedesktop.org, "Gustavo A. R. Silva" , Alexey Khoroshilov , Colin Ian King , Sudip Mukherjee , Bhumika Goyal 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 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 Hand applied and queued for 4.18, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics