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=-12.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 C3201C06510 for ; Tue, 2 Jul 2019 12:34:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 909CB2054F for ; Tue, 2 Jul 2019 12:34:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562070878; bh=ghmgmxiF72WCFXy3LZbMzCL/LNxywBivWup/m8AIolI=; h=Subject:To:From:Date:List-ID:From; b=i/K6WchPKe4B7JKx+mTbKO7+6Rv61SiM+603IecnWhQUYj+IQomXSAC0u0/YQKOCr Mm3IA/msTRAqlMFXExTzegL9HObt4TFtgFMFICcNZoIBUU/2GyM4csT7FhY3sSys+Q hVZ+Ep9yQkhkRCV305l0FIWuD+Pp3t4ol3+BhVT0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbfGBMei (ORCPT ); Tue, 2 Jul 2019 08:34:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:53882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726457AbfGBMei (ORCPT ); Tue, 2 Jul 2019 08:34: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 9E2B62054F; Tue, 2 Jul 2019 12:34:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562070877; bh=ghmgmxiF72WCFXy3LZbMzCL/LNxywBivWup/m8AIolI=; h=Subject:To:From:Date:From; b=tvLdziyk9go6f3kn8AJJ9gR27dfXwThRUTqHJe/VME9vppIBY0iGUyeg1MHlFrtCz IyLBhC85G0n9UfyxS2sDmOJ9ZB/qu/0I0SP3fJRlz+woBmr1kr2Z6ieqdo9wjUBOh7 cYqFE2QRTPIF9QFRgwKaGjyAhP2Y5C0QghyzYoKo= Subject: patch "staging: mt7621-pci: fix PCIE_FTS_NUM_LO macro" added to staging-next To: sergio.paracuellos@gmail.com, gregkh@linuxfoundation.org, stable@vger.kernel.org From: Date: Tue, 02 Jul 2019 14:29:39 +0200 Message-ID: <156207057950191@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org This is a note to let you know that I've just added the patch titled staging: mt7621-pci: fix PCIE_FTS_NUM_LO macro to my staging git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git in the staging-next branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will also be merged in the next major kernel release during the merge window. If you have any questions about this process, please let me know. >From 0ae0cf509d28d8539b88b5f7f24558f5bfe57cdf Mon Sep 17 00:00:00 2001 From: Sergio Paracuellos Date: Wed, 26 Jun 2019 14:43:18 +0200 Subject: staging: mt7621-pci: fix PCIE_FTS_NUM_LO macro 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(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index a981f4f0ed03..89fa813142ab 100644 --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -42,7 +42,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_CLKCFG1 0x30 -- 2.22.0