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=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 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 D5074C43215 for ; Fri, 22 Nov 2019 11:34:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B6C4620674 for ; Fri, 22 Nov 2019 11:34:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727523AbfKVLeA (ORCPT ); Fri, 22 Nov 2019 06:34:00 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:7167 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726563AbfKVLd7 (ORCPT ); Fri, 22 Nov 2019 06:33:59 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 7E1134FD29F0237A331A; Fri, 22 Nov 2019 19:33:53 +0800 (CST) Received: from [127.0.0.1] (10.173.221.225) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.439.0; Fri, 22 Nov 2019 19:33:48 +0800 From: Chen Wandun Subject: Re: [PATCH] {tty: serial, nand: onenand}: remove variable 'ufstat' set but not used To: Greg KH CC: , , References: <1574421159-113624-1-git-send-email-chenwandun@huawei.com> <20191122111410.GA2024666@kroah.com> Message-ID: <62b2cfc1-416c-f7c7-3029-6dd7ad12ea46@huawei.com> Date: Fri, 22 Nov 2019 19:33:47 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20191122111410.GA2024666@kroah.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.173.221.225] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/11/22 19:14, Greg KH wrote: > On Fri, Nov 22, 2019 at 07:12:39PM +0800, Chen Wandun wrote: >> Fixes gcc '-Wunused-but-set-variable' warning: >> >> drivers/tty/serial/samsung_tty.c: In function s3c24xx_serial_rx_chars_dma: >> drivers/tty/serial/samsung_tty.c:549:24: warning: variable ufstat set but not used [-Wunused-but-set-variable] >> >> Signed-off-by: Chen Wandun > > Your subject line is really odd, can you please fix that up and resend? I check the git log of drivers/tty/serial/samsung_tty.c, it seem like the subject line should be: {tty: serial, nand: onenand}: samsung: remove variable 'ufstat' set but not used Is that OK? Thanks Chen Wandun > > thanks, > > greg k-h > > . >