From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1103BC4360D for ; Thu, 26 Sep 2019 02:29:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DC02D222BF for ; Thu, 26 Sep 2019 02:29:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569464976; bh=gKfGul5rMc5lOK9jOOGta+8Tyf25lv4J5Sze6uJLb4k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=vmlpnTv+1fDcHdjLAXD/huAPXqNxxh8QHHijKiR9GwjJp+z3FrNXbSVNwlybvLr+I yOH4zFXoCXaTdlf4JaihEoNlweVtD/+KoxfZi9ax2zUGrlAJp3UVEUXHftyd+5FBUd uhHbGJzpiNTgwLJkCFBzvPQ4MFfvcWaCY/NVbsXY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389663AbfIZC3g (ORCPT ); Wed, 25 Sep 2019 22:29:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:41528 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733043AbfIZC3f (ORCPT ); Wed, 25 Sep 2019 22:29:35 -0400 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9FCCD222BE; Thu, 26 Sep 2019 02:29:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569464975; bh=gKfGul5rMc5lOK9jOOGta+8Tyf25lv4J5Sze6uJLb4k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kjL4U/3R454A4GBihq/7Flb3hrZ6dLUyxf14e/UsJsxdOqZchVXFs1VBmYqVOit1D cB5brovsFqiTYCseK6y5fLJby/JBCFrMrF0wpZ96MqkwuuxOuqs9tnpFaGZcKkNg3v lKKlpSbGuKpy9pXg02rxVOM7Qv0e3oFOIOhsKMVU= Date: Wed, 25 Sep 2019 21:29:33 -0500 From: Bjorn Helgaas To: "Martin K. Petersen" Cc: Denis Efremov , 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 Message-ID: <20190926022933.GB238374@google.com> References: <20190916204158.6889-1-efremov@linux.com> <20190916204158.6889-19-efremov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 23, 2019 at 10:22:42PM -0400, Martin K. Petersen wrote: > > 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! I think this depends on a previous patch that actually adds the PCI_STD_NUM_BARS definition. It will probably be easier if I apply the whole series via the PCI tree. Bjorn