Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp841508ybi; Fri, 12 Jul 2019 05:32:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5sk0yTOl7wTyMx23f1z/BlUQ8pZm3Iiqhk4yxiS7HkZ7SUjpuXUq/BGD2RKH4HR5XEAnt X-Received: by 2002:a17:902:9689:: with SMTP id n9mr11365982plp.241.1562934771049; Fri, 12 Jul 2019 05:32:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562934771; cv=none; d=google.com; s=arc-20160816; b=Z3Xz95/PAZiPok45QIiVsLnHSmXLGmLMGwfcMBEa/yKm0VJo/kFqElwaxz96OT9zOR cUsODx4ufTXHL+JCe+jsLmZzQqYGiwtjEgP8P1F5BihZLCEDKogtX7l7q6CDGVf9GHTA jd3NT02hCOU3DnG/gpRV6T6/BKBOxIG1LFKVGYH5hnQMTCNgcg5TI1Kgqw3X3DSw0KU/ f/d2bsSAjXwfkT6WNcihcZV8hMdb9Lh5SkuHTmN6uMHlEQ0Dl+gw1Bzw+/akaMRWCYm8 v/vTvQDvKrSYdas+/c59Tk/6bnmrTef4gcqY/iFIvbZ4QL2LizCyfCPD3z1pQXfTS0Ks olFQ== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LM+7WuTNepxDIxA1FtjWsTGq36GnurDnCnulfr/cvWo=; b=ZJw6+hKRUKbdA1yKhd2EIls5GdvXVdhdKLIPfqNcUQ7xmwRoGojnGoEChdU3ev1GPR hIEdjnF2dtsZJtmZofADq8ljGStp/PbeWivjaQzNx/KYl5Bevvs6iB4gRk+b7Q7wFgQZ hK1zSkFLGVgSVnMBtAmZ5vu+WRpYfFgQVec4xTPHT0OFY+7HmbvCmIJagrklav3pziCN RYYSstwI8EdW3H1BbuWdngONTVQidjmTbsEwGY0RRJ5Sm2dNhwZMmNAOBzMaP/oyVnl/ bs4x0jmoGvsVmXR0RzP7ZXdn+HqE76uUu5+iRFPRLhomiTaSyS8MM2jozxJIdZWdgbV4 tIBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=os8q6EYY; 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 k14si7647759pjq.53.2019.07.12.05.32.36; Fri, 12 Jul 2019 05:32: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; dkim=pass header.i=@kernel.org header.s=default header.b=os8q6EYY; 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 S1729341AbfGLMbj (ORCPT + 99 others); Fri, 12 Jul 2019 08:31:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:48484 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729180AbfGLMbg (ORCPT ); Fri, 12 Jul 2019 08:31:36 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 141D8208E4; Fri, 12 Jul 2019 12:31:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562934695; bh=C2kVbOxnYchY6oyzR+KFZl/MXbCAOU6/w+nsh/3S6nk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=os8q6EYYPyD+lMkZGWjTUJkqnSOOvzser9E+9KqjyPCnnYv8Ei1REbWvIooZVz86n MQNHiMbw1OHqcqVjDA5/WymL5ndCMrhl7NT11ux8w5sBws3g4quOe4FjAIaUcp0xPy 9t/7iDzDH7qIyCBk038Q68G0VWU9oOvG+GIiAHH0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sergio Paracuellos Subject: [PATCH 5.1 122/138] staging: mt7621-pci: fix PCIE_FTS_NUM_LO macro Date: Fri, 12 Jul 2019 14:19:46 +0200 Message-Id: <20190712121633.424283813@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190712121628.731888964@linuxfoundation.org> References: <20190712121628.731888964@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sergio Paracuellos commit 0ae0cf509d28d8539b88b5f7f24558f5bfe57cdf upstream. Add missing parenthesis to PCIE_FTS_NUM_LO macro to do the same it was being done in original code. Fixes: a4b2eb912bb1 ("staging: mt7621-pci: rewrite RC FTS configuration") Signed-off-by: Sergio Paracuellos Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/staging/mt7621-pci/pci-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -40,7 +40,7 @@ /* MediaTek specific configuration registers */ #define PCIE_FTS_NUM 0x70c #define PCIE_FTS_NUM_MASK GENMASK(15, 8) -#define PCIE_FTS_NUM_L0(x) ((x) & 0xff << 8) +#define PCIE_FTS_NUM_L0(x) (((x) & 0xff) << 8) /* rt_sysc_membase relative registers */ #define RALINK_PCIE_CLK_GEN 0x7c