From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753690AbdKNB7x (ORCPT ); Mon, 13 Nov 2017 20:59:53 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:54296 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753227AbdKNB7q (ORCPT ); Mon, 13 Nov 2017 20:59:46 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 807D460730 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Mon, 13 Nov 2017 17:59:45 -0800 From: Stephen Boyd To: SF Markus Elfring Cc: linux-clk@vger.kernel.org, Linus Walleij , Michael Turquette , LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH 2/2] clk/versatile: Improve a size determination in icst_clk_setup() Message-ID: <20171114015945.GS11955@codeaurora.org> References: <66ff55fd-caae-9c98-197d-f6c3fe7a9c49@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/27, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 27 Sep 2017 21:24:43 +0200 > > 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 > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project