Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1393349ybn; Wed, 25 Sep 2019 17:40:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8A7DnXSzEVsvUplbuaWux0pqWCgeZq5Fuu+daGJSCcy235T78pGvawcwYvqlTB55SV96U X-Received: by 2002:a17:906:c72d:: with SMTP id fj13mr891645ejb.36.1569458426792; Wed, 25 Sep 2019 17:40:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569458426; cv=none; d=google.com; s=arc-20160816; b=NiGLUZpKxMbk3CI1Yl5WvmMrF/Stad8sHKgColFlme3/swJcFb3GKdW46ko/WB31I6 RHNvdXt1toZpS8WU/clUYx0i9HudyoxvG7G4zEUNVMc8nQ/ZR7+3JQzOOpWuETgt7VlV fgCh28fTbSwvhXtV+jvntaU01ZKzC4oolcyd452F26IJlIn1RTngdMYzyIkTpkq0QS2m SyrB/bkJpabJ5fPEFAdRe6HP8kHS2GU2W/80C9kd21wBkrBY1oHg5zASSTXrtMBWZ2K5 3EyLgUAvWVAheVBOKP0AHp4P5/79LDd8ZlhyyEdjkuCiOTtdcwDc7FyZkGmtE/Cs1DfX 467w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature; bh=10wtS4xet5XKlLZCQy/C6PImQNv1bpY8LtMkWI4eGA8=; b=ulyMrDORUj+Evcy/Cj2ovlR/EwGhGXw5lwSLytbOnmatizA5uqiEys0YOjMF5Y5nhB e3TN95Jnrbl80GcdM6wBFbpdAdxW1FXLJLZZbClVhcQcXN6q874FM1qM2CC4LrqJvqpW aFE1UBnc31Ji7WE/+CDSz53NmAzxq24jHwIDDC4JLfZ6vHkoLpsXjOYfUljnZ4pUk65f EahPaNBURNCni+Cw8JzAN3vmoXmiNrSE9+aBt1JrGICDSEBtZ8LfWss9TxGF78G2R1oV XRRpLW398jl7fWP7TLHExrOVSMmY8gu/nNkgrrqP4XQBjIyXvc/WVtbtiK9dFylcsxRy FHeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=YIkidpJj; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l16si238720ejx.141.2019.09.25.17.40.03; Wed, 25 Sep 2019 17:40:26 -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=@oracle.com header.s=corp-2019-08-05 header.b=YIkidpJj; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408545AbfIXCXC (ORCPT + 99 others); Mon, 23 Sep 2019 22:23:02 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:43646 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729193AbfIXCXB (ORCPT ); Mon, 23 Sep 2019 22:23:01 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x8O2JJok099740; Tue, 24 Sep 2019 02:22:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2019-08-05; bh=10wtS4xet5XKlLZCQy/C6PImQNv1bpY8LtMkWI4eGA8=; b=YIkidpJjC/N3UN+DN7L+93HGNpmn0eYw2A0KmeTlIvsUVaCTakS9WmzSV7fO3S3BRhmL FF2jSnaIk3rVoU22OEdnobpuknPtcpba2bZt2LT6izL2VO/lMimVccL6uKd6/JQOnQOQ PqYDvI2MO/frEqSFLnmkTp4+9iVhN/o2BGrVNDbSJZoFr8AINncGVTg+leVbPpEZ9s2q TcfZa7tU1NKo2cQjFLW9or8P4AXuWjE188XSodwA+S5M7hIVd6SdibaUlo5IB22UL4T0 fW1Uz5MACaQ6uTB/w93Aid7YebzqJ7KuNX0qZ4HtkJhCkBbHQrHuInTNcnqIym28YIEs xA== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2v5cgqtp0a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Sep 2019 02:22:50 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x8O2IEe7182806; Tue, 24 Sep 2019 02:22:50 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 2v6yvmdqgs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Sep 2019 02:22:50 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x8O2Mjrf017801; Tue, 24 Sep 2019 02:22:46 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Sep 2019 19:22:44 -0700 To: Denis Efremov Cc: Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Andrew Murray , linux-scsi@vger.kernel.org, Jack Wang , "James E.J. Bottomley" Subject: Re: [PATCH v3 18/26] scsi: pm80xx: Use PCI_STD_NUM_BARS From: "Martin K. Petersen" Organization: Oracle Corporation References: <20190916204158.6889-1-efremov@linux.com> <20190916204158.6889-19-efremov@linux.com> Date: Mon, 23 Sep 2019 22:22:42 -0400 In-Reply-To: <20190916204158.6889-19-efremov@linux.com> (Denis Efremov's message of "Mon, 16 Sep 2019 23:41:50 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9389 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=691 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1909240022 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9389 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=790 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1909240022 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Denis, > Replace the magic constant (6) with define PCI_STD_NUM_BARS > representing the number of PCI BARs. Applied to 5.4/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering