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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B194AC83F10 for ; Thu, 31 Aug 2023 15:28:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To: Date:References:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pLsRgXNa1Iy7htzwbYCikG6Ytu1DjsMebFDj+9QToGY=; b=ul0mrxWoJMz2Af PirDAHjJVRIMFNs+vbhhBBkzq0Tkaie5Bjlb2IeFOF+3QUsBiozVo2LsMt6qu02sFmMRA1YQmVidP vGAiksynWf/4DrFZLqYW7r2tMtOn5kLus6067O/cVQyGnbaAcni7ML8irlfzigsXzJu10lNgrKXOO OVk2m2c6ksEBzaD/zBZH6Plwia4R5FDBelSwXjQhbYDZCRTPYMufkBLiI8r/DbOrisGyMoSNssDso qPbR/lmZdcXPQxafo7SALuKlqvEroFLU7yH2ih+b5WikJU1WbxqjkAbvNL4mEU6PSwz3BSxfMGWMk bl8c47uFumyMk58Yz14A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbjaP-00FVLD-1D; Thu, 31 Aug 2023 15:27:57 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbjaN-00FVKp-05; Thu, 31 Aug 2023 15:27:56 +0000 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 A9928B82337; 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_082755_238557_78CD400A X-CRM114-Status: GOOD ( 10.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel