Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5475026ybl; Tue, 14 Jan 2020 09:31:13 -0800 (PST) X-Google-Smtp-Source: APXvYqwTcmhQWdA9RqzB9Y8zx/YHFa+wXLADz/1efBjQdDtHXsGIXDXc47zSzMrswybpUHxzlHMu X-Received: by 2002:a9d:5784:: with SMTP id q4mr18159459oth.278.1579023073353; Tue, 14 Jan 2020 09:31:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579023073; cv=none; d=google.com; s=arc-20160816; b=rd6PfMyQrwRgXLu77xLehvbQ6ZPg1xP7cEO27x+Ak2RgwJBx4G+6WH5zk+5Z2TjnBw vqUMjfyOe2qLdfSIApch7ot/ANZTPo7ar/D8Ui6TLm/ODMq4VPS+yhwr1ocFQ1WjYyY+ zVuxDTsG2ioAhZMqM2bYTCfhS3LQX8rEyF2qdRk1WAotuRRFPmIAeM6SG1BRrz+KfpeW tPrJ28jvJTPGQRMqqd4SE7CJc10VQGeKO5ma4xxcDgh1BHaW+fXbc30TvYCGQJqAetoQ XekEQx/yYVEzP1J1QRcM1RC/fYcu9KgEEVi0YSrSuc2jNDmcLntZOELObTpkS1VhSuz8 s6Lg== 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 :organization:references:in-reply-to:message-id:subject:to:from:date; bh=+s4fU++VN2rCTBEBHScha+7/T+k6PX1S547gqBWrGM4=; b=fTdnhiV4Qqlz0CoqRaQG+p2InOZf60ZbSJUVTMU57BpUQJ4oUQxMYQOfrnxUhs7Gra G3pcZR4tCK5IOF0PLDTMClU8L6SCK65mMNNSUDvgZFOy6M0RDJv7lAEPms3NPRepffwo d+7uGm/fw8aP3fFtvwJR1jWHZSqDUsfFDv72hrwRTV6wZZpUySmt+P/T+XA3Ec1oyS6N nhRAkBQ711V4HOtrgijypOP65CU4gRP5fF/sWTTaQPkndRRILkzXxUARbqLNdoBtaeq+ GE1GEh7ixBlMxWA+AxN/anwt+Uo2HPQ36F6Mqqk9xqkpii+ol8j4ik0j3eg+MOOAjnFB iZNg== ARC-Authentication-Results: i=1; mx.google.com; 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 s5si7553339oic.116.2020.01.14.09.31.01; Tue, 14 Jan 2020 09:31:13 -0800 (PST) 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; 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 S1727092AbgANR3x convert rfc822-to-8bit (ORCPT + 99 others); Tue, 14 Jan 2020 12:29:53 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:50371 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726053AbgANR3x (ORCPT ); Tue, 14 Jan 2020 12:29:53 -0500 X-Originating-IP: 91.224.148.103 Received: from xps13 (unknown [91.224.148.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id B916F60005; Tue, 14 Jan 2020 17:29:50 +0000 (UTC) Date: Tue, 14 Jan 2020 18:29:49 +0100 From: Miquel Raynal To: Chen Wandun , kyungmin.park@samsung.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] nand: onenand: samsung: remove variable 'tmp' set but not used Message-ID: <20200114182949.5b5165b7@xps13> In-Reply-To: <20200114170849.2229-1-miquel.raynal@bootlin.com> References: <1574424534-141265-1-git-send-email-chenwandun@huawei.com> <20200114170849.2229-1-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) 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 Hello, Miquel Raynal wrote on Tue, 14 Jan 2020 18:08:49 +0100: > On Fri, 2019-11-22 at 12:08:54 UTC, Chen Wandun wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/mtd/nand/onenand/samsung_mtd.c: In function s3c_onenand_check_lock_status: > > drivers/mtd/nand/onenand/samsung_mtd.c:731:6: warning: variable tmp set but not used [-Wunused-but-set-variable] > > > > Signed-off-by: Chen Wandun > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. As an FYI, the subject prefix should have been "mtd: onenand: samsung:". I changed it before applying. Thanks, Miquèl