Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp181338ybl; Mon, 12 Aug 2019 14:09:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMdPwVJOrepegVBwO7y9P+A+EbnOXZQAAeuGlaDNzw6kRyPc+lwzDaU42rug5fxYka8dTF X-Received: by 2002:a17:90a:a789:: with SMTP id f9mr1124296pjq.19.1565644174395; Mon, 12 Aug 2019 14:09:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565644174; cv=none; d=google.com; s=arc-20160816; b=Xzp9P2vh0y9Gz6RPQ75FECAkvazEnLNcv6E+iR5Ues0TNtPZPmatIROQchN2JkNKiZ H5Azb6UT5Lh0i/8JailD7Uq0YQK0NZ/2ARJvBTQwJXdEN2l1YXAEjXIM09brUBnKfc5E +ytUUxtQoE5N2qTFz7AYQh7uBHI0v4Y1I46ZENoKWAAXeNxTAsgurUE0ubyWAk8Q10W/ NrTzeodZR/9euiB+h+zvuKescM52TWN4ZjlyKF+d7wh0jRuYoeIg23L9M3auw5PVg6mS xNQM+/8kQCe4tbC6gX9NAnU8ZSkNivrhT4BwtCi37da4PAtn2BeAdKx8dZK4JwFbOnxe ErmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=qWOFH+vnQ/d55qFCAGVCq+EnpKRZ2n+KSZvDsQ6ulNI=; b=rI583cWYKcO3H0qakMVMEvE1Vud3U0YM23b8v8odkS1NBoTsiCh8rFN6SHPVIfDUFk co5g0ez6lT1l780qVExHvaNkbG913WBHAtTC45arCkptAKJtSMLj2wx5SIwBIbJe/s5N s4mB2a3E9656SxRSUspOhxEaqbhf7GVGcTMR//rI9vnIRkwWFxpztYOu9fhjxS3Hz7rq JmMaFTrpSVlkH4rCTSSeaR8wmCw8zl9HZcS3+1E7Ju4UH3TP8GHCqA2pJeQhjCa3Yy+R XoHafv41b8Djfc6IBG6jZ3lSMO2Nanm5GsV0hLAhYj+ehW86hdWcnwstZzKjcGMdRBOp s2Jg== 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 64si57499562plw.37.2019.08.12.14.09.18; Mon, 12 Aug 2019 14:09:34 -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 S1727071AbfHLVHA (ORCPT + 99 others); Mon, 12 Aug 2019 17:07:00 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38744 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbfHLVHA (ORCPT ); Mon, 12 Aug 2019 17:07:00 -0400 Received: by mail-wm1-f66.google.com with SMTP id m125so844456wmm.3; Mon, 12 Aug 2019 14:06:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qWOFH+vnQ/d55qFCAGVCq+EnpKRZ2n+KSZvDsQ6ulNI=; b=FIGNzvn5pMOFb/ZhIonIJ50VtezyxDgcWTRYehOfbeKYUPxQDhbs+0hCyixcoDVOBJ 5Qz4ZQ5t/8nPfP7eyfeXzs/DpV0rA98IONqKnYAVh2YaOg0aNtFoA9iN4SPDoKLU0xSh cxKDTwNdP7NXa5nJcL0jLtzNXJP5KVndy6Y8k8SB+47h85zXpESwManC4CSAi0vLKKBH m2ZkOTv5c4c/kzywS4oVQ3hg80sHCtwcHVMbwoYEKJpLT07iPgd77/ZGj4pbqhX3Gzop gxeRf0sWVukmjnFyVzsUCNtuvLPWksP7cB5miInTq6yv9GjzlEgaQjt1HsClWNkWh114 twfg== X-Gm-Message-State: APjAAAUMDXvITrdZqQC6ZpaE3SfIhU6h88GP4ZYQETSrBxNTX/Tgw09i buwDFvmsdqa6ZK601QBWCQ+B8Qyib10= X-Received: by 2002:a1c:ed06:: with SMTP id l6mr1035718wmh.128.1565644018345; Mon, 12 Aug 2019 14:06:58 -0700 (PDT) Received: from [10.68.32.192] (broadband-188-32-48-208.ip.moscow.rt.ru. [188.32.48.208]) by smtp.gmail.com with ESMTPSA id j9sm3380620wrx.66.2019.08.12.14.06.57 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 12 Aug 2019 14:06:57 -0700 (PDT) Subject: Re: [PATCH 2/7] s390/pci: Replace PCI_BAR_COUNT with PCI_STD_NUM_BARS To: Bjorn Helgaas Cc: Sebastian Ott , Gerald Schaefer , linux-s390@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190811150802.2418-1-efremov@linux.com> <20190811150802.2418-3-efremov@linux.com> <20190812200201.GC11785@google.com> From: Denis Efremov Message-ID: Date: Tue, 13 Aug 2019 00:06:55 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190812200201.GC11785@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > There's a loop just below here that should be rewritten in the typical > style: > > i = PCI_IOV_RESOURCES; > for (; i < PCI_SRIOV_NUM_BARS + PCI_IOV_RESOURCES; i++) { > len = pci_resource_len(pdev, i); > > Again, not strictly related to this patch, but probably trivial enough > to do in the same patch. > I think it's already fixed in a separate patch https://lkml.org/lkml/2019/8/6/694 Thanks for the review, I will send v2. Denis