Message ID | 1519784037-105472-1-git-send-email-jiang.biao2@zte.com.cn |
---|---|
State | Accepted |
Delegated to: | Richard Weinberger |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=zte.com.cn Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dRVbM3Hm"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zrfNN4QMkz9s2j for <incoming@patchwork.ozlabs.org>; Wed, 28 Feb 2018 13:17:40 +1100 (AEDT) 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: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:In-Reply-To: References:List-Owner; bh=gH+/opciGbDzejImdphBR2axU++/lqzEBEh3IuNtN5g=; b=dRV bM3HmI9qgjRRuEL8GycwbQTdqlbX2io/CVvt7aHDH/sb161TJfRwU5TlQjYkWRetKQUyKdQqHfLV9 fkUai+4o45D9uBEf+1PFov1jxGi9836+AT2GMiWKX0Z2LnsRS80JpNxtL0HQMjxuBqtLXVCMgK+ua LbVLx/7Y/vk+Uu95jtwYUNBP5llr94zZPpjFV4Oby5sR0yzNK4QnVLyg424OfprkowwMFPFeiKMAz PKuD+fsOmKpEGL5KFfCb0eMU4TlpC7xBzDLp8qLY0ltGaL17APYcS5balqmlTjc/MVmDugXoCVPAW U7gzh/2uwPZOhbIHe1Mu9PHimA5Gtew==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eqrJC-0005oQ-0l; Wed, 28 Feb 2018 02:17:30 +0000 Received: from mxhk.zte.com.cn ([63.217.80.70]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eqrJ8-0005lr-3s for linux-mtd@lists.infradead.org; Wed, 28 Feb 2018 02:17:28 +0000 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 15E9EDB82412A01C75F2; Wed, 28 Feb 2018 10:17:03 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id w1S2GuYs023533; Wed, 28 Feb 2018 10:16:56 +0800 (GMT-8) (envelope-from jiang.biao2@zte.com.cn) Received: from localhost.localdomain ([10.75.10.200]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2018022810170070-378581 ; Wed, 28 Feb 2018 10:17:00 +0800 From: Jiang Biao <jiang.biao2@zte.com.cn> To: richard@nod.at, dedekind1@gmail.com, adrian.hunter@intel.com Subject: [PATCH] fs/ubifs: constify struct ubifs_lprops in scan_for_leb_for_idx Date: Wed, 28 Feb 2018 10:13:57 +0800 Message-Id: <1519784037-105472-1-git-send-email-jiang.biao2@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2018-02-28 10:17:00, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2018-02-28 10:16:48, Serialize complete at 2018-02-28 10:16:48 X-MAIL: mse01.zte.com.cn w1S2GuYs023533 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180227_181726_345045_B4F34479 X-CRM114-Status: UNSURE ( 5.99 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [63.217.80.70 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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: jiang.biao2@zte.com.cn, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, zhong.weidong@zte.com.cn 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+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
fs/ubifs: constify struct ubifs_lprops in scan_for_leb_for_idx
|
expand
|
diff --git a/fs/ubifs/find.c b/fs/ubifs/find.c index 2dcf3d4..9571616 100644 --- a/fs/ubifs/find.c +++ b/fs/ubifs/find.c @@ -632,7 +632,7 @@ static int scan_for_idx_cb(struct ubifs_info *c, */ static const struct ubifs_lprops *scan_for_leb_for_idx(struct ubifs_info *c) { - struct ubifs_lprops *lprops; + const struct ubifs_lprops *lprops; struct scan_data data; int err;
Constify struct ubifs_lprops in scan_for_leb_for_idx to be consistent with other references. Signed-off-by: Jiang Biao <jiang.biao2@zte.com.cn> --- fs/ubifs/find.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)