Received: by 2002:a05:7412:3210:b0:e2:908c:2ebd with SMTP id eu16csp1047065rdb; Fri, 1 Sep 2023 11:03:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGuaQYkJVGMCYq0ZlYlGgepqUFWQ4B4eEEL0ix1kvBwNGWa9ermyg5DzoZbgg/xNK+z7Ple X-Received: by 2002:aa7:c245:0:b0:522:3149:159b with SMTP id y5-20020aa7c245000000b005223149159bmr4544666edo.2.1693591431249; Fri, 01 Sep 2023 11:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693591431; cv=none; d=google.com; s=arc-20160816; b=fjsjpISeMXRUJzTu49lPMDmpO95iKD5A6l5bJP39AUP8v4EFWYv6ALFz9Zj0y4Zm6F 040R1j7PkxWpPUFgdaCm/YT7twIKOE1iOl0VTnJggmbAzbPjEhL+nWE0YI9yWit3p+lw Hee8E9f29VQAJDS1G+WECuQHSpKOe2tJW8thMPMMW3oWqritXhgp3tIj2hkQCy9fW05g +OwZ4jHp5bDxZNW3lAathXq20yHjkkHsGJk2OP7eWxhf20bH9+jf2T9Cw8iT4R1R+vbZ 5x7xs0A75Wk/OBFPa5scg1rDQDMkj3l3TL4JUxaBJwFaazLze+RIoMPqGgWpCl3csZzP qsWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=BFkzrTl8Fp3ap4MMUuNu0PYGNFGOEtpCS+5EryEpuCA=; fh=kYVEYz6nkxr+xr4ezlL59kXmzYTIKq1tShb19J53wF4=; b=R5Hn39bLHMQOGS+Ow/4sGU7FWonR6ddxGOSnDcbJABnE4y3NRCpWkOmrBOp/DUMnB0 w33FeGo+K7aaXWOxT/Sr960yqrHcoXYlFbTU7S5yijR21EPo353BKm8IgFbzbopGho4R qnPnOn34stP7y7rHZQW9n1ISMF03kWJmRCQFrQAFR43nB+iMjYTvq/X2HZyPxySFIusE 3FXHBxJijIGhPgIQENKJ1rNZWssNHEI8vrcTRi1pXSYYTxQO/WdKjeUeeJH1Aj8yyrZe X6Q0ual2VwH03ni/DsfLX4VKXCUjbQ+SxCzqJf6xvB3NA2FWRJ281ojWbDIXKJP9dFjI ZDRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FSVeVd9T; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020aa7c6d2000000b0052a3b1ffde5si2997406eds.154.2023.09.01.11.03.36; Fri, 01 Sep 2023 11:03:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FSVeVd9T; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244342AbjHaP15 (ORCPT + 47 others); Thu, 31 Aug 2023 11:27:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241859AbjHaP14 (ORCPT ); Thu, 31 Aug 2023 11:27:56 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0520AB8 for ; Thu, 31 Aug 2023 08:27:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A721FB81FE8 for ; Thu, 31 Aug 2023 15:27:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84665C433C7; Thu, 31 Aug 2023 15:27:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693495671; bh=RChlf7sNnlla1bk8aQ9fJlAckK82BDukWAF14ibCRYw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=FSVeVd9TdURBaRoL2h14T2qbLnhUCZvDYvH+tCXP9QkhsjWI0LcNbW4Mb/X1rsSTX OtsnwD6m/SJ2BavTtlnZDtRs+6Hr5MYPWG2rLuUPSrNw+H3TN/TF8Sre0VY+6WkfZB zcDiPQMJ5eYZJhkth1x/E6TgZSe7WITkRxEel+cCzvrW9hFtwdGsOVLghmcELZjfhx Rq0GC/Gta8iCVhNkxsz6lWT7lQFKdlKRbA/I74O6Vi8Vy/mFPorBGBeyGav4QYtczF 3l1jH+urvcVRaqAfGj2lh1yPMSdnDUuur7Uvp3TziUsA5eFTeBfdzV02WgYhKUpCZk e+UDWP25AB16w== From: Kalle Valo To: Jinjie Ruan Cc: , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH net 0/3] wifi: Fix the NULL vs IS_ERR() bugs for debugfs_create_dir() References: <20230831141347.3166988-1-ruanjinjie@huawei.com> Date: Thu, 31 Aug 2023 18:27:44 +0300 In-Reply-To: <20230831141347.3166988-1-ruanjinjie@huawei.com> (Jinjie Ruan's message of "Thu, 31 Aug 2023 22:13:44 +0800") Message-ID: <87v8cvdyfj.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Jinjie Ruan writes: > Since debugfs_create_dir() returns ERR_PTR and never return NULL, So use > IS_ERR() to check it instead of checking NULL. > > Jinjie Ruan (3): > wifi: iwlwifi: mei: Fix the NULL vs IS_ERR() bug for > debugfs_create_dir() > mwifiex: debugfs: Fix the NULL vs IS_ERR() bug for > debugfs_create_dir() > wifi: mt76: Fix the NULL vs IS_ERR() bug for debugfs_create_dir() > > drivers/net/wireless/intel/iwlwifi/mei/main.c | 2 +- > drivers/net/wireless/marvell/mwifiex/debugfs.c | 2 +- > drivers/net/wireless/mediatek/mt76/debugfs.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) Wireless patches go wireless-next tree, not net tree. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches