Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1862031rwb; Fri, 19 Aug 2022 10:36:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR48yB9AYK5GzdjMkIrHl1SXXkbPu/qdwVXFsGAnodW3mvib7oHYLiOmA9KSa/0Q7Zyn6+bT X-Received: by 2002:a17:902:904b:b0:170:a3e6:9d98 with SMTP id w11-20020a170902904b00b00170a3e69d98mr8467372plz.50.1660930611912; Fri, 19 Aug 2022 10:36:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660930611; cv=none; d=google.com; s=arc-20160816; b=ZTguEWaMDbqQ0h+CEbRbWea0yz1EveCLLML4xzlh6bwHoyViNqvxSfEBJFuIp14g5d DnbgW1P+QAFvofrgSjurjsIu5OKbnNJrBvNnO3GLkZICDc2Q1r7zV0zwDAG9/6gqHxu8 JHRH2rBrb3Q67JiN3Eiyo+6NZnmVV1a7qcnGVPes4LhOewEfSpzXst7DeSpD4lHmlo3M mgIb8ht9KViIsSX6WtusT6wdD5TBv0cpEQ1otPSW93JEJk0kTbTKpJ44+NsxCtGhPGAA VRVUpTDNoY9jP5T/C2OPwo3SfEwEl1zJzKbJqFJAj5OFrrFai6VpgpLjONoNHxIyn4uk WiFQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TFsbEfJYFilEMemAdpApdSCD5mGsA1ECgE8Js6Nd+r4=; b=Re6tYoVavW9dori+zoPysiQ8k6nBUN70fgbYJfqw949dXbdha5nDwjWTof6n+mbPaU Ll8zX5j9Q+YliwLh1eMQMVol+6R45/GCfSlvB52Lry4llJEy20qcIei3xmc7l3oyxlWO +62sEakKwDQhuuYMmZU0fCRQSF2LMp+NdnRQj9YoKx7DBibDYL/tot6ESHq7y8GOM8kD HclDageNFfa+lZUOloviJarokkVbBZHOxU7DW1lBIZRj7nliswndw3KV/5iV6S1stWKL TeXNxBLUk74t6iFi5ie7fFlfzEVH/T3DcXZNkeDoESTBNaKFfDOeWYQ8moXROiiXIICL wIJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1gJdHpff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g15-20020a056a000b8f00b0052b1e2f86ccsi1442516pfj.321.2022.08.19.10.36.40; Fri, 19 Aug 2022 10:36:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1gJdHpff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353663AbiHSQoN (ORCPT + 99 others); Fri, 19 Aug 2022 12:44:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353994AbiHSQl2 (ORCPT ); Fri, 19 Aug 2022 12:41:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE0A0128464; Fri, 19 Aug 2022 09:10:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 019436181D; Fri, 19 Aug 2022 16:09:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08D57C433D6; Fri, 19 Aug 2022 16:09:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660925344; bh=6Dm/QtZqMc5BBrSsShFxrrQs0b0gU7I+9RlqFFJcSeI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1gJdHpff0QmKu5vE5hI6Or+knak/t2KMO8wzqSLG1j0DOhRtE3/WI2MlJD2BFleXQ hyaLuSaezj/EASqWTVqgnEDo/La/cIXPiPj5vmuQuJLS9oagGpMrF9bBd0KE83TbBE Eb0AIvNs2HdQHDltEZ4S+Pj8uCOpl8n3X23y7Ryo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Miquel Raynal , Sasha Levin Subject: [PATCH 5.10 461/545] mtd: rawnand: arasan: Fix a macro parameter Date: Fri, 19 Aug 2022 17:43:51 +0200 Message-Id: <20220819153850.020716331@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220819153829.135562864@linuxfoundation.org> References: <20220819153829.135562864@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Miquel Raynal [ Upstream commit 698ddeb89e01840dec05ffdb538468782e641a56 ] This macro is not yet being used so the compilers never complained about it. Fix the macro before using it. Signed-off-by: Miquel Raynal Link: https://lore.kernel.org/linux-mtd/20210505213750.257417-21-miquel.raynal@bootlin.com Signed-off-by: Sasha Levin --- drivers/mtd/nand/raw/arasan-nand-controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/arasan-nand-controller.c b/drivers/mtd/nand/raw/arasan-nand-controller.c index f9fb3b7a3ec3..a3d4ee988394 100644 --- a/drivers/mtd/nand/raw/arasan-nand-controller.c +++ b/drivers/mtd/nand/raw/arasan-nand-controller.c @@ -91,7 +91,7 @@ #define DATA_INTERFACE_REG 0x6C #define DIFACE_SDR_MODE(x) FIELD_PREP(GENMASK(2, 0), (x)) -#define DIFACE_DDR_MODE(x) FIELD_PREP(GENMASK(5, 3), (X)) +#define DIFACE_DDR_MODE(x) FIELD_PREP(GENMASK(5, 3), (x)) #define DIFACE_SDR 0 #define DIFACE_NVDDR BIT(9) -- 2.35.1