Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp908833ybp; Wed, 9 Oct 2019 06:10:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwomLjn3Tp/n5rgp7HIDQZkRnKxL2welEHI7rlQitAIIYoVDnCiobgm6vjU/GwmVlqI99m X-Received: by 2002:a50:e71a:: with SMTP id a26mr2845064edn.265.1570626623276; Wed, 09 Oct 2019 06:10:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570626623; cv=none; d=google.com; s=arc-20160816; b=Omh3coXTTMzggSAEBDiHF2q+fVdnfJUy9wad9w2hkE/1hzaKsMXA5XLVkVv2AExuus +ios9cGu27+wQ1+rqO3d1fj0RGgWdqKu1t1lqaey4S6CHdwvDOlTs/TzRIGo6xlNvEq8 xbfXBAfsvT285+2ilZ/8jnpd6G2lkbrHXDf/pcvXKazqCts2PojlTSMBjT93CSfWzy5D sNc0RG2n17nTJdWzsOXoa/qxwoV9RHNVTUuzjQGXKz5w2Iy9HlfzhjaMSX3YotpViOSW 7XePIUbkue4YpdMPZX3oiLJHxDRM54sxOkF+zketSnOUUbHPTHyCl3l5/MX3zcoCWRbw NB4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ha8auS9UlV5rb1Y6vIKyBTX+/8H3VLNAReOKsA/1Zi4=; b=lexcFrGCN8iEwFYw2XKhSar0Nv9ufMnNacPMtFZjATNhQ6HUU9g1J1nliQ9HuFmA7Q qDrL57JyZVaKvU/3CxvfUc6DZB0ii2pQnAxuq8yqTd+ukIzZKAfYVndY2YWPj2jGgZOt kh2agZ9gs0Xh/TpGGGauS1KbdH6KnR0m8+apT4jCeo2MkDlsLx0IXzC6+C+sTEyUonh5 8YCJoe62j9SeP+SeoparFLLI41yE8YBlHO31qAMgnkYTvCRO3FPIJdLX+nSfVt4BGqiS BLeb/mpDLuTYzDLej6O8txxacI4YOePaqPT/RLhVWjkhMyt45Eq/4hpLbStk8YskyqPO w57w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 h28si1358368edh.278.2019.10.09.06.09.58; Wed, 09 Oct 2019 06:10:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731335AbfJINHa (ORCPT + 99 others); Wed, 9 Oct 2019 09:07:30 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3671 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730858AbfJINH3 (ORCPT ); Wed, 9 Oct 2019 09:07:29 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 177F39A6B016244B3259; Wed, 9 Oct 2019 21:07:26 +0800 (CST) Received: from [127.0.0.1] (10.184.213.217) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Wed, 9 Oct 2019 21:07:21 +0800 Subject: Re: [PATCH RESEND] rtlwifi: rtl8192ee: Remove set but not used variable 'err' To: Kalle Valo CC: , , References: <1570612107-13286-1-git-send-email-zhengbin13@huawei.com> <8736g2rs86.fsf@codeaurora.org> <0135c3c7-a827-941a-1bad-90129c49d0ac@huawei.com> <87y2xuqdbo.fsf@codeaurora.org> From: "zhengbin (A)" Message-ID: Date: Wed, 9 Oct 2019 21:06:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <87y2xuqdbo.fsf@codeaurora.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.184.213.217] X-CFilter-Loop: Reflected Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2019/10/9 21:05, Kalle Valo wrote: > "zhengbin (A)" writes: > >> On 2019/10/9 20:58, Kalle Valo wrote: >>> zhengbin writes: >>> >>>> Fixes gcc '-Wunused-but-set-variable' warning: >>>> >>>> drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c: In function rtl92ee_download_fw: >>>> drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c:111:6: warning: >>>> variable err set but not used [-Wunused-but-set-variable] >>>> >>>> Reported-by: Hulk Robot >>>> Signed-off-by: zhengbin >>>> Acked-by: Ping-Ke Shih >>> There's no changelog, why did you resend? Document clearly the changes >>> so that maintainers don't need to guess what has changed: >> Failed to apply: >> >> fatal: corrupt patch at line 13 >> error: could not build fake ancestor >> Applying: rtlwifi: rtl8192ee: Remove set but not used variable 'err' >> Patch failed at 0001 rtlwifi: rtl8192ee: Remove set but not used variable 'err' >> The copy of the patch that failed is found in: .git/rebase-apply/patch >> >> So I resend this. > Ok, thanks. But next time include the changelog automatically and mark > the patch as v2. And read the documentation: Copy that, thank your for your patience > > https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches >