Received: by 10.223.185.116 with SMTP id b49csp1973352wrg; Thu, 22 Feb 2018 06:16:57 -0800 (PST) X-Google-Smtp-Source: AH8x224pZOhgYym2QBEIqtwgSK+j07EuflBNy6mGmiiAvj/V1g+Jn1x7j+AYYUBlKddIBqIoT99S X-Received: by 2002:a17:902:7e87:: with SMTP id c7-v6mr6958882plm.138.1519309017450; Thu, 22 Feb 2018 06:16:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519309017; cv=none; d=google.com; s=arc-20160816; b=j0LMNF58erqToLovZ4hn77j45jx+0iv+J9tVC2DcrDxCSYZQ1Xkxof7ySp440zR9wp dbV29J+HDKwBB0zCZiSgWDcIUezEfyGxAu42uuVQNMB0AbZrEiMoZ9yOHmXG8PoQ9p6w ICM84tFUmadUF7IjeUhSC9y29dCkgcLSY0IEr17vxCS6ZvluQ8O91BKGBqt96bhHEhqC PVAo1VN5YvqHadO/tYq9OAgMLZNXRxEy62uVXz9kyYSD0LD4l7TDuVfrg9EoB6c5vC3L 1rlzaoppnX1rbTLh5/NdVOW2Z4wRSPu6eI7qBfxDxzt+haWk46p4UvDcnLen0KdfQjUH 4/qg== 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=neQ3LA75Lt6zeUy+8JJq5F9+z0IRZU7gKiAyfbPAnlM=; b=zCcQ5Z4JjcRfrPeB7rlFxFtPc+B6ppquzzj1yJZmUm044jqBkpyoLXSjLcR5H1nIac kYz7C9+JiRuMeggsDkzpsoZYTEUqGqbTgGz6bfKY0nKb5C2gSCslTHDo0EDqVhiJ86oR nxSKNM4lcbpN9/FZVsZmAWqkSJPJuUSysmk4BFnEq4r/q+bGb77quOcTfIN7s5xOjKiX u9J0E7iXtzBlft1XLueYDp3wWVnQMsjWuZv+hxalKr44YSnaEIsQsKZJDZ0TydmeVsiD HsPrMTdT7tsebW77HckS491f0CVyOITsGPKp27QXeicW6JpG+Oa8m5CQb6uNeWxGJaje KHfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=anxFrPLH; 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 r14si78278pgs.604.2018.02.22.06.16.43; Thu, 22 Feb 2018 06:16:57 -0800 (PST) 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=anxFrPLH; 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 S932767AbeBVOPa (ORCPT + 99 others); Thu, 22 Feb 2018 09:15:30 -0500 Received: from mail-io0-f174.google.com ([209.85.223.174]:32920 "EHLO mail-io0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932674AbeBVOP2 (ORCPT ); Thu, 22 Feb 2018 09:15:28 -0500 Received: by mail-io0-f174.google.com with SMTP id n7so6173585iob.0 for ; Thu, 22 Feb 2018 06:15:28 -0800 (PST) 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=neQ3LA75Lt6zeUy+8JJq5F9+z0IRZU7gKiAyfbPAnlM=; b=anxFrPLHGOKQOxcKUEsNiLi+VzGxYV832LGkCwvNzXt/jAjhyiIbHNYNhL1DRKsy5J PONIZ9avISwj+KPnOos/Q9GnfJsRh4mIRxXyMd8YNB9Rdj46W4Qk8To76ywlakwa9w7R MLZGqAvnX6kr0+o9qOoYQRRJi3hAlITpCIG54= 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=neQ3LA75Lt6zeUy+8JJq5F9+z0IRZU7gKiAyfbPAnlM=; b=eWOctGWcSpkwVcwC+iZMuJP+nUOpxX47LZy3LZcb498YBmKme9MS1toHikjNc88aH3 fZThfZFa8RT8jT9ifJpboOca5AyEsJDnxx/c5a4BvWDF3uASBwvCzeKwmkuD1Ae1y3sp VfBvDmuvqPaUhgDiHROY16JwcmiA9LMKp03So6wCVWRJkPCDIHFLbMqUN2ogWms5g9QM Bm4ZukE1fwz1fNqKJNoysAZsCD+ACRj/Spz+kEbFDWbjjo5J19JnhMGlSdi2p95M1N2U 3ihsRLSl4u+domVNxlzq9nCeGNCv+B/6e3EWihWFfMrY5JGnaR5nFJf3P8UyCrGTqOhA DD0A== X-Gm-Message-State: APf1xPArYyRiHKzwn57AJeL0NL6gVxMaMVD5/dsGyHAvzaari5FUtAkl 56tQmXk4Pi98BtuawfINEH7YfwyxBId+Xir9AlYWgw== X-Received: by 10.107.151.74 with SMTP id z71mr8355149iod.277.1519308928015; Thu, 22 Feb 2018 06:15:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.230.25 with HTTP; Thu, 22 Feb 2018 06:15:27 -0800 (PST) In-Reply-To: References: From: Linus Walleij Date: Thu, 22 Feb 2018 15:15:27 +0100 Message-ID: Subject: Re: [PATCH 2/2] gpio: timberdale: Improve a size determination in timbgpio_probe() To: SF Markus Elfring Cc: linux-gpio@vger.kernel.org, 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 Sat, Feb 10, 2018 at 9:33 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 10 Feb 2018 21:13: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 applied. Yours, Linus Walleij