Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp880434pxb; Wed, 27 Oct 2021 14:21:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx42Ht2by1qONT8v9rYR2HrZMwXvE6SuyX3ghJys7Yw+hQVI0GhKx3qvb8dxeCMjZw/2QzU X-Received: by 2002:aa7:dcc2:: with SMTP id w2mr468897edu.192.1635369706203; Wed, 27 Oct 2021 14:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635369706; cv=none; d=google.com; s=arc-20160816; b=pv/tiShHKGqcxUHFKRV/CkiBiCDsBe36vTPQGwqcO5xB+fgL12PDkcisafSgubZB27 Gp0zjLEjGjKjpmBeyuTwJczxpij+NkQXLw8EZ6YOzCx9TFmPcY+G7EFZvW2u7Iat0+B/ +IfihCip+l1qIOLQmJSdloN5/LIigZpCUwp/0N6tPBNwTUeFW377MaMeOe/rBn28f73V K7hC9eBXEaAeHZLYQ/JBK54Lus7zcpyadvs1Fs8riorKMhMp46BoPvCNO3d1Zv7+Fae6 NGpoWhpTSjXYgAs0iuSQKr8ZIkiUTGMUwHLSIZJJ+2QvEqMeG60bVfrq5Pe8dJeQ5PRV HXBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=SY0J1lcVlQl7JfcePZc5iO9t5DniioUq5UppDww76k4=; b=lCdd33Kp3/RtPaQ5fIk3r4oYZ74o2GTNiqCpWQFNFvk652Lm1AwweNadly2XSTNh0u UKUwObO9XoY1sPOrLzVM3jx/M6Az6d847S95e1mfC8gVbzNPtIYDcNshEALlNvEv/qmo 8alkw2f3roTlO97phTHUezURJcyvz0FjMaIElhdnYiMtEeNR839m1Sp44TUgtmbhoJok kttLN3HES+VNG0vwv5TGaE1yNFFIsriQrj/+qehM/rhgoi6Oum9vmP2SgAK/pff2eOZ8 9NTrgJ8vWF9FqT36GgWqmF9BemIftKBvTQytvA8OAYo8Pp/zadCs0eDkP+F2PY8fPb39 sGKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s2si1706004ejn.5.2021.10.27.14.21.23; Wed, 27 Oct 2021 14:21:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241219AbhJ0JhY (ORCPT + 97 others); Wed, 27 Oct 2021 05:37:24 -0400 Received: from mga14.intel.com ([192.55.52.115]:45304 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241199AbhJ0JhV (ORCPT ); Wed, 27 Oct 2021 05:37:21 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10149"; a="230394517" X-IronPort-AV: E=Sophos;i="5.87,186,1631602800"; d="scan'208";a="230394517" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2021 02:34:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,186,1631602800"; d="scan'208";a="465671139" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga002.jf.intel.com with ESMTP; 27 Oct 2021 02:34:37 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 76177BB; Wed, 27 Oct 2021 12:34:37 +0300 (EEST) From: Andy Shevchenko To: bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Nicolas Saenz Julienne , Jim Quinlan , Florian Fainelli , Lorenzo Pieralisi , Rob Herring , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Bjorn Helgaas , Andy Shevchenko Subject: [PATCH v1 1/1] PCI: brcmstb: Use GENMASK() as __GENMASK() is for internal use only Date: Wed, 27 Oct 2021 12:34:33 +0300 Message-Id: <20211027093433.4832-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use GENMASK() as __GENMASK() is for internal use only. Fixes: 3baec684a531 ("PCI: brcmstb: Accommodate MSI for older chips") Signed-off-by: Andy Shevchenko --- drivers/pci/controller/pcie-brcmstb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c index 1fc7bd49a7ad..51522510c08c 100644 --- a/drivers/pci/controller/pcie-brcmstb.c +++ b/drivers/pci/controller/pcie-brcmstb.c @@ -619,7 +619,7 @@ static void brcm_msi_remove(struct brcm_pcie *pcie) static void brcm_msi_set_regs(struct brcm_msi *msi) { - u32 val = __GENMASK(31, msi->legacy_shift); + u32 val = GENMASK(31, msi->legacy_shift); writel(val, msi->intr_base + MSI_INT_MASK_CLR); writel(val, msi->intr_base + MSI_INT_CLR); -- 2.33.0