Message ID | 1490213273-8571-5-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | 6b2fc9d495aeaad4116827fc21433c85f82a134a |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp415171qgd; Wed, 22 Mar 2017 13:17:12 -0700 (PDT) X-Received: by 10.99.112.18 with SMTP id l18mr29374524pgc.142.1490213832109; Wed, 22 Mar 2017 13:17:12 -0700 (PDT) Return-Path: <linux-mtd-bounces+patch=linaro.org@lists.infradead.org> Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id f24si2139680pfj.22.2017.03.22.13.17.11 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 13:17:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hifJ66O6o3bJsC2wyKTzaYyKMmuSU05XsZaI3M5W+EE=; b=d6QxpazYEpQNu4Vo5aRawrBEEF eiSBug/hrZKlgKvfE4ZDKdOaNV0+ek5DmELP1kjgybdSkyulY18HlnBLDSnauj57GOjBEdyg1D9do ZpWw5el8egWPIUBicIb3lvqLVyNT6bz32bQmqG4BeFkl9qs42IP5THXmAHuvAYZers8k6/F8CHI10 crUWoG3RNWZbbNuCNjpwdxBxvhab8/V+ACa9AIYJqXO4dhGH+HhiZOy+J2AkkdB1+4+j1XBMjoVNO o5eqisXf85Nz/m8xQlGxNJ7yQgLMCS4pbBk50rhL+zVkLG26MnF6Q0wyTcc1ICKvSZGa3N9CI8/r+ pHyB4kiA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqmgr-0005QS-Sk; Wed, 22 Mar 2017 20:17:05 +0000 Received: from conuserg-07.nifty.com ([210.131.2.74]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqmZN-0001Rd-EX for linux-mtd@lists.infradead.org; Wed, 22 Mar 2017 20:09:25 +0000 Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-07.nifty.com with ESMTP id v2MK895s029452; Thu, 23 Mar 2017 05:08:22 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v2MK895s029452 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1490213303; bh=kVnKMF1bU+yPNN1ErYOgKoEpFhCR98uosgBtITbRHQ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=npgWHfWmCdeDH4SOORymyJRBKl1+SpE5z9fW3zhPcIlKQFTw/kiDlFWvHDrI+6FiM TgLf3v3fODtq07mixykfqLbBOJYqJgmHfG2tLKvFirjJTACJuARbchgwDX/FaeBG5a jEziMiqen79McpNw3wQD6yIJW4KW+zbNoi9d4kEVOwe5/Zn1/8+5R6Jle0cQgcbMnT QBjCyCPUvgw7b8NymTqyhCnjBHHNCUoa8KrRQQ8wYDZ7z8DCKMQ34UvawJwIUmz/ed EJ7P/3QqFpJSYisKWLCL/AfblqQkqPVHgPBenKk1WVYGNlaBs+ZDq1mKoW3cTaObav MtCJo8KhC2czw== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada <yamada.masahiro@socionext.com> To: linux-mtd@lists.infradead.org Subject: [RESEND PATCH v2 04/53] mtd: nand: denali: remove redundant define of BANK(x) Date: Thu, 23 Mar 2017 05:07:03 +0900 Message-Id: <1490213273-8571-5-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490213273-8571-1-git-send-email-yamada.masahiro@socionext.com> References: <1490213273-8571-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_130921_955622_065472DA X-CRM114-Status: UNSURE ( 7.10 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: laurent.monat@idquantique.com, Boris Brezillon <boris.brezillon@free-electrons.com>, thorsten.christiansson@idquantique.com, Richard Weinberger <richard@nod.at>, Marek Vasut <marek.vasut@gmail.com>, Masahiro Yamada <yamada.masahiro@socionext.com>, Artem Bityutskiy <artem.bityutskiy@linux.intel.com>, Cyrille Pitchen <cyrille.pitchen@atmel.com>, linux-kernel@vger.kernel.org, Dinh Nguyen <dinguyen@kernel.org>, Masami Hiramatsu <mhiramat@kernel.org>, Chuanxiao Dong <chuanxiao.dong@intel.com>, Jassi Brar <jaswinder.singh@linaro.org>, Brian Norris <computersforpeace@gmail.com>, Enrico Jorns <ejo@pengutronix.de>, David Woodhouse <dwmw2@infradead.org>, Graham Moore <grmoore@opensource.altera.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org |
Series |
[RESEND,v2,01/53] mtd: nand: allow to set only one of ECC size and ECC strength from DT
|
expand
|
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index f993e13..c9806e6 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c @@ -648,7 +648,6 @@ static irqreturn_t denali_isr(int irq, void *dev_id) spin_unlock(&denali->irq_lock); return result; } -#define BANK(x) ((x) << 24) static uint32_t wait_for_irq(struct denali_nand_info *denali, uint32_t irq_mask) {
This macro is defined twice in denali.c (around line 98 and line 651), so remove the second one. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- Changes in v2: None drivers/mtd/nand/denali.c | 1 - 1 file changed, 1 deletion(-) -- 2.7.4 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/