Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2320261iof; Wed, 8 Jun 2022 02:22:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMwDwKKMolpFxHYyGwHsK6oW5qAx6HxsSzqWqoU5bWuj4NrDAe0E6iFr0muqrXMo8Gf3DO X-Received: by 2002:a17:90a:e50c:b0:1ea:14c1:2236 with SMTP id t12-20020a17090ae50c00b001ea14c12236mr5701347pjy.2.1654680129613; Wed, 08 Jun 2022 02:22:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654680129; cv=none; d=google.com; s=arc-20160816; b=tNF/luERFs4V463QhvWEOygGW6tpaWqFOJiMuH0QKlizLn45sATv1FbYylZcdeLPM6 MDAltu4qP1+PRCHq2+8AwflwlIkKNxr6ywJ1wmlQuPtTW6MUXuIY8HjXEz6Ht09+dK8I KDAl6cZyew0pc2Q+fbkjQXXjPPaDFBcnH+yrEG53Y7cMpFgbX/CJP3Ho5xJkCpZ/9Zhj cSjkVV521cYfEyWpatVG2LoXzDhDCFaOWnlHALKszEmFe1QhsC1LIP/HJ5r3d9cw8Va+ VZlo7nwLzC7fWu3anZ/oK2vRtxGjqaoTkGwtrBcQyL/+2mUdYjGoN79jdvexOCQsrtTY RJSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=hff+p9zArgrmQROBhByJgUoot02ijHcUk2SxTMWafGU=; b=zvplOVRe6JUlTWYSNjqsgbRAcAME0wCl+JVriEWWnF4Ma++gJ93HiLpLy2F9GCmN7J 0pJ1Mt7vlYIjB8ePngd0LdKdXCOdPSxNgfR6Dy5Vf+U1Wod6iniaqsrG4uJtZepOvPgq 9iVuqqtY21UCTvLB/b4FXBRfbLDhuTU8J+XxMiAyRT6i/U9rUhLpX3v2wV9wWjx/RCxM RNpDW2WNF8927RBod8jKlDSI2w4sYskSzhg6jfH2+b8WFhT3meIICuePmgklK2zDQ2iw K5XAljaErYsG2VNmm+Fo/f0UfPiy9hI4h0NWNvGoeqtq6yFMAuhjfHyvITxNCar3EHTS TRRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QEoqHaAB; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j13-20020a637a4d000000b003c5e1a93396si28927013pgn.289.2022.06.08.02.22.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 02:22:09 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QEoqHaAB; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AB37114A269; Wed, 8 Jun 2022 01:52:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232494AbiFHIv5 (ORCPT + 67 others); Wed, 8 Jun 2022 04:51:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231599AbiFHIvO (ORCPT ); Wed, 8 Jun 2022 04:51:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 886A91F0A4F; Wed, 8 Jun 2022 01:08:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6FBCA615BA; Wed, 8 Jun 2022 08:02:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB481C34116; Wed, 8 Jun 2022 08:02:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654675352; bh=hff+p9zArgrmQROBhByJgUoot02ijHcUk2SxTMWafGU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=QEoqHaABFoBzHKVseuF6OsuPJsNrsLIBzbvMYwUNMKRb0lT3LcMEVlTGmjjQB7uWE +BjKvnjdu9YlJposcmoqzV1yX4sjCHqN0PTUbO2OiXr/zOAyGq/XopnjoeuexBMIvb jjCcbZMOYr4I1mOgL8gawoWk9gX3Td1M+mNx7u56r1Osc8TeOqadQcawuiRNKSpsFx 77O2CNerHGhNV3E6IlQr1PTb1XzV95V9xzblIm/PblIJ26fExnAWsgRozgkaNMjrf2 ITcCjEmzZTW0te5uu4scQg7PbI++NORxEMq5JoOCyOtqwIVMsZlvmgW03LJ7Yfc9Ma sxxez4xy4w9jg== From: Kalle Valo To: =?utf-8?B?SsOpcsO0bWU=?= Pouiller Cc: cgel.zte@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Minghao Chi , Zeal Robot Subject: Re: [PATCH] staging: wfx: Remove redundant NULL check before release_firmware() call References: <20220606014237.290466-1-chi.minghao@zte.com.cn> <5637060.DvuYhMxLoT@pc-42> Date: Wed, 08 Jun 2022 11:02:27 +0300 In-Reply-To: <5637060.DvuYhMxLoT@pc-42> (=?utf-8?B?IkrDqXLDtG1l?= Pouiller"'s message of "Mon, 06 Jun 2022 08:36:37 +0200") Message-ID: <87leu7shv0.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org J=C3=A9r=C3=B4me Pouiller writes: > On Monday 6 June 2022 03:42:37 CEST cgel.zte@gmail.com wrote: >> From: Minghao Chi >>=20 >> release_firmware() checks for NULL pointers internally so checking >> before calling it is redundant. >>=20 >> Reported-by: Zeal Robot >> Signed-off-by: Minghao Chi [...] > Signed-off-by: J=C3=A9r=C3=B4me Pouiller I'll change this to Acked-by, s-o-b should be used only when you are part of patch distribution: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when= -to-use-acked-by-cc-and-co-developed-by And please edit your quotes, otherwise using patchwork will be painful. --=20 https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes