Received: by 10.223.164.221 with SMTP id h29csp2924509wrb; Tue, 3 Oct 2017 13:27:21 -0700 (PDT) X-Received: by 10.84.165.171 with SMTP id y40mr18191604pla.373.1507062440932; Tue, 03 Oct 2017 13:27:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507062440; cv=none; d=google.com; s=arc-20160816; b=JtF1AfbAlAIq+UqvYTpuRzexcuZXdYI9rkY5RQ7g0kmej8aj8Ma48hNpHE0KqEtpYk LJVU7Tr0u/rmb/QkRbWb+o68wgzLcXgpwB9kjXkMiNx98oweslhAqcQMLuthdnghzz3Z 4sP1/J4oyERipO3ppCa+A2J18aHrb97Fc2OuMitn4Pq7C4JDwdRrsMn5Mt5hoALH8vEK gGLbn5Qljs5fyAHPMnwoHhfXtDOhtT7aIpXTIGJvNDjTLDiiOSjgJx40sBcpWvZdHkwo C0DejXVvlXHart77B2IbekEX9xKgOCA1eo4Ms02w60Y0oStSjJzOZy5kHKHXnlmaonjK 3v/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Fe0NMA2oRahSAULJYkroDkMQo0dGiMeUV/ybdPc8qUI=; b=wJ5W8lmDKzP8UK+txYuCqZBWmjzMi1qB6I59kn3QqlkyBpLO5O4B6c471y6PdC5zov E3WEtzoPeMAFfpGfeuHTVquF04ZyvAFE/Zhx79gaK6KERTOwIL2Wc0uaZcXLGwkpDyp7 gM6dO9dn0fqbOIOSV/I1ZQ6RWlNZqMtmtUDF8gTe6bgYJK/inZF2Ilrg5E5p9tFsmIwn rnlVYHz+EHojy4+F4w2KaBxzKUgvbfE91OAzOEvA7vwD29yTYeQYQxeZLD67sFR8fjdq ALTV8SMQ1GKCoJDRFbnd50DfxzzwMVdkp++YDFWb0MMYsv/EdvXckGP3tn3pRSzFvP18 t95Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eHo3TwOE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g69si7255607pgc.716.2017.10.03.13.27.06; Tue, 03 Oct 2017 13:27:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eHo3TwOE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751811AbdJCU0U (ORCPT + 99 others); Tue, 3 Oct 2017 16:26:20 -0400 Received: from mail-it0-f44.google.com ([209.85.214.44]:47026 "EHLO mail-it0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751001AbdJCU0T (ORCPT ); Tue, 3 Oct 2017 16:26:19 -0400 Received: by mail-it0-f44.google.com with SMTP id v62so2812391itd.1 for ; Tue, 03 Oct 2017 13:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Fe0NMA2oRahSAULJYkroDkMQo0dGiMeUV/ybdPc8qUI=; b=eHo3TwOEtJQjYoD7FCIbLEvvzJoFrNvlEh3SF2lKofQCv/fuUwMgzWAqCfxcrh6eho zMwNsrtbQbJ4rbdwzXxf6LhtQyrdHDZGlfrLN9qPJlVkyRaOO858sUngrJ6VYcRGKunU aRAly4Tj1KH0trekbhpmt5Bit1kmjSvAhngtQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Fe0NMA2oRahSAULJYkroDkMQo0dGiMeUV/ybdPc8qUI=; b=fIvuGGl+AXFnp6ycyHGiLK6eshNDFFrY32NIFb7K8w7530qMDqhU6NpD7IBvkLK97i Y5AZI7rvwrt04VoxJRkReUuV4gETCvq4yInxnHVhzuaeNmKBM/320YGgHnW/aFkAJJyZ Jxu5BnN8iD6zfM4ANiTP4kOxMa6MMlzVk8+qH5mJU6KPc50TqXWy98CLBBCxpfxwU/Sj LGfGC5+niPIxki7+re/v3iixoclpFQLv1YVE+KA2qQbfGgONzcv1G+6LQPrmr8SxYeec WmTv+D5jBkGZBMujAB/seqgD4hFRusGt/qLh8r1JiRVFyXAg+KpyUP0dccKkSGNQB7E1 AvWQ== X-Gm-Message-State: AMCzsaVb5WX7jWE3QtNCGMUlPMjlinr8jFA8RygZzKHXcHtRSR1GfzTX fsHpvwo2ae8Uww7qX8ky1dU80pBUovFkjMVG+bEOSw== X-Google-Smtp-Source: AOwi7QDyNJazuPTy0uxK8Mv/UXhLr6u6xF3Zral6SvR74bpVpezMtJ3h3v0H9TUZndw3fmuSOEoYOsmogNqI1RYmuXo= X-Received: by 10.36.6.3 with SMTP id 3mr26492602itv.36.1507062378850; Tue, 03 Oct 2017 13:26:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.15.8 with HTTP; Tue, 3 Oct 2017 13:26:18 -0700 (PDT) In-Reply-To: References: <66ff55fd-caae-9c98-197d-f6c3fe7a9c49@users.sourceforge.net> From: Linus Walleij Date: Tue, 3 Oct 2017 22:26:18 +0200 Message-ID: Subject: Re: [PATCH 2/2] clk/versatile: Improve a size determination in icst_clk_setup() To: SF Markus Elfring Cc: linux-clk , Michael Turquette , Stephen Boyd , LKML , kernel-janitors@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 27, 2017 at 9:40 PM, 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 Acked-by: Linus Walleij Yours, Linus Walleij From 1579723043771134798@xxx Wed Sep 27 19:41:33 +0000 2017 X-GM-THRID: 1579723043771134798 X-Gmail-Labels: Inbox,Category Forums