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=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 C1F08C47404 for ; Wed, 9 Oct 2019 08:22:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9885421721 for ; Wed, 9 Oct 2019 08:22:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="ebsvAaCs"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="cSbPKbmf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730069AbfJIIWV (ORCPT ); Wed, 9 Oct 2019 04:22:21 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:54612 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725962AbfJIIWV (ORCPT ); Wed, 9 Oct 2019 04:22:21 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 689FD61B7E; Wed, 9 Oct 2019 08:21:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1570609340; bh=3q49RChPIeodm8hyvkPcXxTSL3F6hIu9tGu6GIDDsS8=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ebsvAaCszp4jdvGOByOF0zAp4vZiCSUYQPpUtFvsP/22RqbFQTTo0BpGJxekbtLF7 JHIlPlHQ9gEA4jfX6nvDXfQTMny+E0iOQLF49ZciqWq6+YyhWPt9k0PXaKJEwkG7Mj 6jufeExlKx5zasIZiGxR+d3XcP3SlOGsTcJS5StM= Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7BEC561B4A; Wed, 9 Oct 2019 08:21:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1570609318; bh=3q49RChPIeodm8hyvkPcXxTSL3F6hIu9tGu6GIDDsS8=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=cSbPKbmfiu0KG18184qCjFxc3EzegzAgaPo0JA8OPd7M2EanJHBsB+m+qNFyBK6La ZLxJEcU8wc5oHd/5bYbsXjyxMXvkrXsO31EnkFM+K00jcisy3zdtFArD0ff90iZ+q3 W8PGiZNqhMgchDuy6sjY8Uch4526lFi0AdnBMVKU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7BEC561B4A Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] rtlwifi: rtl8192ee: Remove set but not used variable 'err' From: Kalle Valo In-Reply-To: <2ca176f2-e9ef-87cd-7f7d-cd51c67da38b@huawei.com> References: <2ca176f2-e9ef-87cd-7f7d-cd51c67da38b@huawei.com> To: "zhengbin (A)" Cc: , , , User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20191009082220.689FD61B7E@smtp.codeaurora.org> Date: Wed, 9 Oct 2019 08:21:59 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org "zhengbin (A)" wrote: > 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 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 Patch set to Changes Requested. -- https://patchwork.kernel.org/patch/11173619/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches