Received: by 10.213.65.68 with SMTP id h4csp275036imn; Tue, 20 Mar 2018 03:16:51 -0700 (PDT) X-Google-Smtp-Source: AG47ELsP4wv27D1J0fd2lXq8qKqRDHX3xhgx6HQONze1Thh0e57C5ceIHd0gzecM4z7DfM3E5Asg X-Received: by 2002:a17:902:128c:: with SMTP id g12-v6mr15632433pla.98.1521541011043; Tue, 20 Mar 2018 03:16:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521541011; cv=none; d=google.com; s=arc-20160816; b=mq8AkRZ0sn6CSpZehcSG8n1AwJ/4s6arI9kw5/g4jWDO7o7TelXQAXfsK1pryyjrBa EdWAMiQCYy6OnjP3qmE7kA8qm7RWdHqI/Liu3OzTigl0xpEH3k28SDDUEA6J7keJZO78 3Uo6Pm0UxImTPviq0YGvfmf7Q1GU1n7Jt3ug/MQPHwvGyaXfe/XuiGThcFj/XhsauOv7 o9oIc2SoEMsRdywlNxaj9BTOr+VJ8WpJ3yZqqweLVKF207hGV8tnLxA70kkVkpoiHngt oc31brwdholW8tlpD4ZvfeMxFD3CkjNK4YSsw/IKYMpi46Y6RWzRbNgLyvclgSsQ+TEI pgvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to:arc-authentication-results; bh=Gtc77WkZzjRWsNI1JNSP2utoXHxh89gEaz+rP/abvz4=; b=FwE/gEZxyjygnoAmF/3hfvPsuvbl+ND1FXhTNY30Mfb8/+MgNONxGSpthqT8ASCbd7 WfmiEDbXqW2X22iNUq8DAlb+wjmPwSQs9CS/2eNUYiQMyabp8q5GkE9aIcdI07b1/Tzp RmJ0xycBfbUH6xHsEofoMTPtFqfGqOczWgpbnTyDiKUtDcX+95T71oAMbVXN5WD07vbd XtrfeIbJ6bmBtkdHk8WD2ZGZ8MGmFcymbw5jvus7RWw3xxxRNW00cyA5usUr3PUO8OXW LP2yTvqIngG0ni/+l+zY/+Alq1a2dBMS4dPj+cvgcC3HtDdtxeDy+E3RI488F1sag17J E8NA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12-v6si1284693plk.508.2018.03.20.03.16.36; Tue, 20 Mar 2018 03:16:51 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752619AbeCTKPd (ORCPT + 99 others); Tue, 20 Mar 2018 06:15:33 -0400 Received: from ozlabs.org ([103.22.144.67]:55489 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751929AbeCTKPb (ORCPT ); Tue, 20 Mar 2018 06:15:31 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 40582V075Xz9sZC; Tue, 20 Mar 2018 21:15:29 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: a0828cf57acce9bf941539e1f633e9a91f9df57d In-Reply-To: <03b68902-629e-65ab-a5e8-d90a3613f596@users.sourceforge.net> To: SF Markus Elfring , linuxppc-dev@lists.ozlabs.org, Alexey Kardashevskiy , Alistair Popple , Benjamin Herrenschmidt , David Gibson , Gavin Shan , Paul Mackerras , Rob Herring , Russell Currey From: Michael Ellerman Cc: kernel-janitors@vger.kernel.org, LKML Subject: Re: [3/3] powernv/pci: Improve a size determination in pnv_pci_init_ioda_phb() Message-Id: <40582V075Xz9sZC@ozlabs.org> Date: Tue, 20 Mar 2018 21:15:29 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2017-10-17 at 15:40:17 UTC, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 17 Oct 2017 17:18:10 +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 > Reviewed-by: Alexey Kardashevskiy Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/a0828cf57acce9bf941539e1f633e9 cheers