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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1373C433EF for ; Wed, 18 May 2022 00:47:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232834AbiERArr (ORCPT ); Tue, 17 May 2022 20:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230250AbiERArp (ORCPT ); Tue, 17 May 2022 20:47:45 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEB204EF5F; Tue, 17 May 2022 17:47:44 -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 ams.source.kernel.org (Postfix) with ESMTPS id 31F2AB81D9B; Wed, 18 May 2022 00:47:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 981BCC385B8; Wed, 18 May 2022 00:47:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652834861; bh=fNKUfV1SV9M5mI6hr0ErzfCZ0VG41xjUAwF43KZD2eY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lJr15sAUFzvzyN+kB+OMoXM6a6cHHNd/c0L51N78DhbMJgjRVZ2IUBpZfaufqIAVo C3ulfncmFHe9/i09xBJRFpkjUx65GI1IO0G73+kKViaJp+Yai2ZmCKywzZdqR/Tg9S GRlYXGkBiIf4/O0TvTAJlj/+ui2ZxkWwRiWxHZSLGhCGZ7lBgUSYBBkExkcSux7LpO q7GC6akLEKROVHZaO/8+6qe2UvCzhOLcIkY5srNhbgwGERBahvIrdbgXCcISGzD4cn T0YlHDUx+FaxyxN6fq5eqlUmneuWdUVrQvO/pYLhBqHuqc7bxgS3KGkBj7n/e2gPmI rI2PW5RqLQvAA== Date: Tue, 17 May 2022 17:47:40 -0700 From: Jakub Kicinski To: Yang Yingliang , Cc: , , , , Subject: Re: [PATCH -next] net: ethernet: sunplus: add missing of_node_put() in spl2sw_mdio_init() Message-ID: <20220517174740.2fe90ebb@kernel.org> In-Reply-To: <20220516143734.1598316-1-yangyingliang@huawei.com> References: <20220516143734.1598316-1-yangyingliang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, 16 May 2022 22:37:34 +0800 Yang Yingliang wrote: > of_get_child_by_name() returns device node pointer with refcount > incremented. The refcount should be decremented before returning > from spl2sw_mdio_init(). > > Reported-by: Hulk Robot > Signed-off-by: Yang Yingliang Please add a Fixes tag, even if the change in question is only in linux-next. Wells Lu, the expectation for networking maintainers is that you will review patches for your driver without 24, max 48 hours (not counting weekends). Please respond with feedback or Acked-by / Reviewed-by tags now that your driver has been merged. Thanks.