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 X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EC43C43219 for ; Thu, 2 May 2019 07:20:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D009520873 for ; Thu, 2 May 2019 07:20:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556781644; bh=te5YZ9pgHy4DysziYxkjR/+fn1pI3veiDyNTL/2vZi4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=gFW1qkOWAwI14/qGbDBxHizJBUou1JbZkRLBEwSQcWPt34yclmlcafG0hR3hXFlUS BZQ+KWsrktxdsW3qH7Ai61ZhuvsivgH98Rg+iqQJaPU2JqphOTVZmNp+/hpdOU+8Y3 C58LWG1oh/LRx7eI8fV8NCCqv+/51DAhAWkiM/fY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726359AbfEBHUn (ORCPT ); Thu, 2 May 2019 03:20:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:44806 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726055AbfEBHUm (ORCPT ); Thu, 2 May 2019 03:20:42 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C42B42085A; Thu, 2 May 2019 07:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556781642; bh=te5YZ9pgHy4DysziYxkjR/+fn1pI3veiDyNTL/2vZi4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qdTC2KkClxrM+vE6JNfDpr8tPJ6inUwaz0EyJLGzdshYmqxgFXS3beEfJJWzYf7l/ xQC+n/6ly0AlBEiibJ3R0Ta4doPwfc6sELgfAnOlZ09nuUNWzGt92mcbhcow5LuYqm rRTnRIGSDhqzY5YNvm5ChcAOkfNbmNDKyyezMcpU= Date: Thu, 2 May 2019 09:20:39 +0200 From: Greg Kroah-Hartman To: "Tobin C. Harding" Cc: Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , "Rafael J. Wysocki" , Joe Lawrence , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 2/5] kobject: Remove docstring reference to kset Message-ID: <20190502072039.GF16247@kroah.com> References: <20190502023142.20139-1-tobin@kernel.org> <20190502023142.20139-3-tobin@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190502023142.20139-3-tobin@kernel.org> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 02, 2019 at 12:31:39PM +1000, Tobin C. Harding wrote: > Currently the docstring for kobject_get_path() mentions 'kset'. The > kset is not used in the function callchain starting from this function. > > Remove docstring reference to kset from the function kobject_get_path(). > > Signed-off-by: Tobin C. Harding > --- > lib/kobject.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/lib/kobject.c b/lib/kobject.c > index aa89edcd2b63..3eacd5b4643f 100644 > --- a/lib/kobject.c > +++ b/lib/kobject.c > @@ -153,12 +153,11 @@ static void fill_kobj_path(struct kobject *kobj, char *path, int length) > } > > /** > - * kobject_get_path - generate and return the path associated with a given kobj and kset pair. > - * > + * kobject_get_path() - Allocate memory and fill in the path for @kobj. Wow, that's an old change that caused this to be not true anymore, nice catch. greg k-h