Received: by 10.223.185.116 with SMTP id b49csp1975094wrg; Thu, 22 Feb 2018 06:18:29 -0800 (PST) X-Google-Smtp-Source: AH8x227E6uWurpnQdD2+Wa3nOacknLg9Z5XuNJVo+h1aXtGvLHTuTs86qPWnr5VKfbqXXrhks9by X-Received: by 10.99.149.8 with SMTP id p8mr5613555pgd.186.1519309109695; Thu, 22 Feb 2018 06:18:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519309109; cv=none; d=google.com; s=arc-20160816; b=cmbjKfW75LumMyfKr+BezARiPX0GyJ2uwQg0Mq4smt5MPpBW2ZKzhkPhH1xPmsjNhL r66+FwP3Pe8RyHppjYhDuoCQOyA5+QgI2jVJIEt11HctwDp7lk4qMA6XT4h8Ard3XaXI FUzRtaM/KolOnugl3HItnSI5K/yncKtSQgpqFTzpMS0WYBcoU10e9JhKXtfeZu6eRMkg UADZAmo9FNMAaTkqOZMK2HmJ0IqBfOSbEuTNh1kZWab1G2trle7k0YhQGtmwE3jcPbca t/duKBd7cfnWIEmbWTWgZFz44k7fgToFsf4REM0mx6MH+mFQDrZ6vtk8IXhgA8bcMupj CgTQ== 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=pM56sSqhQOVd/efH58m+GtdNGTsg2Y6/IB21tbJMD+o=; b=V6mfS7raROdTf3ZXcpLL+aNxSVWWx7mLy5RpPuajnKIXm05587thK+4BYg5pxlkgds 4E0Cy83DNudzn6RemKAA6gJouRz9AClo1vugNzMqhEn7gXU3F4HCQ7irEbeUEDW+e7aN HmhfhIxGBdUKGxTKrA99AOzsXCAi19fgUAfpuKTG/BLZqHVqjnJsJSLxkDeYV5/Muj5n aewmN1loUbyNwGAsd3lWsMXgk4OrOyFKDOqU6T1kSOfBEsMkYoBHLlPee8x/8PeC1RE7 5GLAFAZL7KV35An1WTrHiIy/VB754REu4K/V/s6/7niz2ozS4sFLIKa8BcLs+3m08fYT qE4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fdfyxCBI; 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 18si101525pfj.366.2018.02.22.06.18.15; Thu, 22 Feb 2018 06:18:29 -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=fdfyxCBI; 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 S932564AbeBVORj (ORCPT + 99 others); Thu, 22 Feb 2018 09:17:39 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:36681 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932593AbeBVORg (ORCPT ); Thu, 22 Feb 2018 09:17:36 -0500 Received: by mail-it0-f68.google.com with SMTP id u5so622590itc.1 for ; Thu, 22 Feb 2018 06:17:36 -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=pM56sSqhQOVd/efH58m+GtdNGTsg2Y6/IB21tbJMD+o=; b=fdfyxCBIcBhgE3diqhbxtQPYZI+DpIfXBgQ14CQi1Fb+B+guUZ3kkxjRhQfeb6ORui EieAY4eJC5SKN/TsgMRASlfrNNzMk8OObP1Fw2T8qbEsEdvHUcMTVi+odYwKvdVRaVE2 tOQqiqiPPaGg5ygSqqxhtuLIbjSINGPoVtPRI= 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=pM56sSqhQOVd/efH58m+GtdNGTsg2Y6/IB21tbJMD+o=; b=SAe1PjN1h61XqyR7NwH/TQvd56RzgPzNZeyoCaKf5ta4Qz827OFo+OxHdUCTXtuo7a 33am2CQg6V8EgJwJj2Tdh7vrcHr+pz0TNSoyh5e2NnZ9vGa3ms1NK3snfGYpjGbYdMIG JJcqupPGpVrlbYJk+8ARGq164XG4dg1/ib9hqzSlVF37juPYffqFdIRRqblCmQif1uYK KaP/tLPEK1QMZRa4e3tWED/A4JWSBvLxmncVPWZ0QWK2lXrhLuWvHHmG34C9cmHUCJ7c CfF/8Tz5oganRQELM8yk3MpRKFVJyCxO34RlZIhskyv7Bqtz4ko21TDfwSbHZcOymtL8 7LkA== X-Gm-Message-State: APf1xPAN2KQMgIacJijaEdoy9M2+PZND3yHyWiWA5ovPi/oMIUr4ba/Z mo4pfX/TbTuYBkhp19x6rYz2Wyxxb/FwrViEWclq5g== X-Received: by 10.36.92.205 with SMTP id q196mr1796514itb.135.1519309056219; Thu, 22 Feb 2018 06:17:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.230.25 with HTTP; Thu, 22 Feb 2018 06:17:35 -0800 (PST) In-Reply-To: <422a4c63-5ffc-2b40-4d9a-cf947d4af2fd@users.sourceforge.net> References: <8ec31664-badc-5454-b759-ae9132833589@users.sourceforge.net> <422a4c63-5ffc-2b40-4d9a-cf947d4af2fd@users.sourceforge.net> From: Linus Walleij Date: Thu, 22 Feb 2018 15:17:35 +0100 Message-ID: Subject: Re: [PATCH 2/2] gpio: omap: Improve a size determination in omap_gpio_probe() To: SF Markus Elfring Cc: linux-gpio@vger.kernel.org, Linux-OMAP , Grygorii Strashko , Kevin Hilman , Santosh Shilimkar , 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 10:08 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 10 Feb 2018 21:49:22 +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