From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mailout3.samsung.com ([203.254.224.33]:43426 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751013AbdIKJRC (ORCPT ); Mon, 11 Sep 2017 05:17:02 -0400 Subject: Re: [PATCH 2/3] [media] s5p-mfc: Improve a size determination in s5p_mfc_alloc_memdev() To: SF Markus Elfring Cc: linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, Andrzej Hajda , Jeongtae Park , Kamil Debski , Kyungmin Park , Marek Szyprowski , Mauro Carvalho Chehab , kernel-janitors@vger.kernel.org, LKML From: Sylwester Nawrocki Message-id: <5b6fc74a-9927-cc1d-fd89-cd4578a14791@samsung.com> Date: Mon, 11 Sep 2017 11:16:54 +0200 MIME-version: 1.0 In-reply-to: <003abb1f-4dc6-91ca-9d03-cae13dc4ff6f@users.sourceforge.net> Content-type: text/plain; charset="utf-8"; format="flowed" Content-language: en-GB Content-transfer-encoding: 7bit References: <482a6c92-a85e-0bcd-edf7-3c2f63ea74c5@users.sourceforge.net> <003abb1f-4dc6-91ca-9d03-cae13dc4ff6f@users.sourceforge.net> Sender: linux-media-owner@vger.kernel.org List-ID: On 09/08/2017 10:52 PM, SF Markus Elfring wrote: > 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 Acked-by: Sylwester Nawrocki