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 D068CC6FD1F for ; Sun, 19 Mar 2023 09:10:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229646AbjCSJIh (ORCPT ); Sun, 19 Mar 2023 05:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbjCSJIg (ORCPT ); Sun, 19 Mar 2023 05:08:36 -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 E02D412CDB for ; Sun, 19 Mar 2023 02:08:34 -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 6E2CD60F56 for ; Sun, 19 Mar 2023 09:08:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4881AC433EF; Sun, 19 Mar 2023 09:08:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1679216913; bh=muQIyS8L0u+wQYk7fHuS9Tv5nL+xkWTZyobwqrXUzPM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mDJQV9ZvXoMtD+VHedCLXDysgjyX6XK17CG6ZqVp2mUeZvlIEJ1tM2HJeTvoXyISV zhJCtPNBhQY5figas78NE4HiIVw1L7yo9qyc0CJcRmzrhmGKK2iodCRcjI2nS98BGP 7V1uqqnPJ4xNqyiSM3AqPcDFNX/ZS34emfzQOcMs= Date: Sun, 19 Mar 2023 10:08:30 +0100 From: Greg Kroah-Hartman To: Yangtao Li Cc: "Rafael J. Wysocki" , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 01/10] kobject: introduce kobject_del_and_put() Message-ID: References: <20230319084134.11804-1-frank.li@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230319084134.11804-1-frank.li@vivo.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 19, 2023 at 04:41:24PM +0800, Yangtao Li wrote: > There are plenty of using kobject_del() and kobject_put() together > in the kernel tree. This patch wraps these two calls in a single helper. > > Signed-off-by: Yangtao Li > --- > v2: > -add kobject_del_and_put() users > include/linux/kobject.h | 1 + > lib/kobject.c | 17 +++++++++++++++-- > 2 files changed, 16 insertions(+), 2 deletions(-) Any reason you only sent me one patch? I guess you don't want me to review them? :(