From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Subject: Re: [PATCH v2] video: ssd1307fb: Improve a size determination in ssd1307fb_probe() Date: Wed, 28 Mar 2018 15:53:38 +0200 Message-ID: <3926941.Nf8LXND9kI@amdc3058> References: <2091464.qzRHS0Wsad@amdc3058> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-reply-to: Sender: linux-kernel-owner@vger.kernel.org To: SF Markus Elfring Cc: Arnd Bergmann , Bastian Stender , Jyri Sarha , Tomi Valkeinen , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, LKML , kernel-janitors@vger.kernel.org List-Id: dri-devel@lists.freedesktop.org On Sunday, January 07, 2018 07:34:44 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 7 Jan 2018 19:27:28 +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 Patch queued for 4.17, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics