Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp846128ybi; Fri, 12 Jul 2019 05:37:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRhSZnff5f+6xvyGnAKWRd2hFysM6N368aJbKGsBuIJwyf1BKdy58zTiFDqtmzL2BzWgbc X-Received: by 2002:a17:902:361:: with SMTP id 88mr11456159pld.123.1562935032572; Fri, 12 Jul 2019 05:37:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562935032; cv=none; d=google.com; s=arc-20160816; b=lq+zh8RSsQDFrlXLVvy4raqMA0PUJZpOI+9DqIZM7QwCY9h/fJJGDwv+VNW+jRW1P9 g/53jM8DAmhrVa1Qr3b0sR4/C/x8SVHWqZBm4vLo/RP/70uFUc93/3AgzM/sH62Ivuo+ 21VZtYXzp25l0gvPF33oCOQOSftq70sPQznBeXH09w2u1TFfLShtZ2/KZ8IjAdYAEMjG VnCp2QgzbzEiSmi0SE2Shkar/2XAfPA5iTrsTUQnA+JpnLlEPreOBH55Q1kWS5pcZp06 ndme7YwTT76H8NFKaUNo0h7xU6fsv3c1kTN3ISNrVpJYMpggHq2NNQhP1WK3jUrok2rB +hlw== 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=LqSDrM7k3Hc0vi1yvx0NtTZ0nOQSXHIMY8BAeLvpK4NpMqHq5TAoWr1ARawGHrudM+ jHCXhDIdNsL+69/8G1guS7tifUEmCAXVjGEzVzB/FOpfx/Iljl/QdSFbGqJf6WHJYtE7 kio7PHvg5SKPK8j6A3NktDjJyHriLV51qrymdlUYZwjuW7ZehRrVXbdauh+9HCy8lyW4 DNTvWRCOIeIQXjwjNNXOcx1IWOOKijP+eR35rh6AwEgELwvBS2AyAMjEjZhO1Ba51XF5 WCYQDglANYeLFUqvPH5VkviWMkj0vzbBrrnuMWLx/otuPRgoBGFq9BbDoMtMZTEKxx61 S+Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sybXLUtw; 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 4si422868pfg.55.2019.07.12.05.36.57; Fri, 12 Jul 2019 05:37:12 -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=sybXLUtw; 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 S1729646AbfGLMdn (ORCPT + 99 others); Fri, 12 Jul 2019 08:33:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:52922 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729631AbfGLMdi (ORCPT ); Fri, 12 Jul 2019 08:33:38 -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 C398C21019; Fri, 12 Jul 2019 12:33:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562934817; bh=C2kVbOxnYchY6oyzR+KFZl/MXbCAOU6/w+nsh/3S6nk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sybXLUtwo+hgcy21iHSb0oaSk2UDJF/oN8u6qZGQEcqdlGXeD0mtwtqx1hmuPH4VW sSoMuQjiqTC1PkUib7blE/rDZ1n6OjKSe1mZe7sf5HdbNnrakFBJVUua2jG73/IVEO KDoLI5Cc2DB5aP7Hf4xpY8Vm7AByUTueA2zWjR/w= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sergio Paracuellos Subject: [PATCH 5.2 39/61] staging: mt7621-pci: fix PCIE_FTS_NUM_LO macro Date: Fri, 12 Jul 2019 14:19:52 +0200 Message-Id: <20190712121622.735692956@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190712121620.632595223@linuxfoundation.org> References: <20190712121620.632595223@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