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=-9.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, USER_AGENT_GIT 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 614A1C43219 for ; Thu, 2 May 2019 02:40:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2EB68208C4 for ; Thu, 2 May 2019 02:40:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556764815; bh=iDPb6eyZpa8dZ+KVUQbDk4j9mCZaYH6i2846ggVYqT0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=f6E0PU6612FfvqO34saj6Z1nxRS3DtmAkOhHMMMt6xtlpB6WynMxKW8+qplQvuzke ty4LRkgzpPJD51367KMD0ObKayD4RdTQ62u/o6RKbXzXZe+YKYUIRAE9oZV3Bi3ojA J5GrLKGXEcii8MW8UBJ5CZ4YF+afoZQdCjjGFqDk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726506AbfEBCkO (ORCPT ); Wed, 1 May 2019 22:40:14 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:35033 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726403AbfEBCkA (ORCPT ); Wed, 1 May 2019 22:40:00 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 4C288602; Wed, 1 May 2019 22:32:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 01 May 2019 22:32:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=T9nKSChfea+oLMY5Kpw3eMK6igS+zn5o65ZT0pR8nNs=; b=3IsP2xoj pcneIPGwZYM2nu7GBCgzNfeZJQxD7gTFVLqWqbNYdsFy5lGAt0j+Yftmhm37wCtO olS+we/4bFLZUXU/03houOPuS2myw5US81M5yBTV5MkgOQ0CNErciyJedNXK+ni0 u2cOvKWfvXO7ED6Eqken56FRXurUl8wDT+7aVx6yzQCH+jRUrn6qcnyQ3W1Tv64j dCpWKG9W52JWaGvxm4wkR3P8eoZGKTbN0xGex/Khq1snMeQrX7KqJM2bvITDuibX NOyyh2zl+LXM8xy8wu5JQjX7kts1qM4tnO1Pn90b1gciQgUlfomdMCmFyk/SbJtT v13oTN1Lln+vdg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrieekgdehtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepfdfvohgsihhn ucevrdcujfgrrhguihhnghdfuceothhosghinheskhgvrhhnvghlrdhorhhgqeenucfkph epuddvuddrgeegrddvtdegrddvfeehnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtohgs ihhnsehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedu X-ME-Proxy: Received: from eros.localdomain (ppp121-44-204-235.bras1.syd2.internode.on.net [121.44.204.235]) by mail.messagingengine.com (Postfix) with ESMTPA id 6D226E407B; Wed, 1 May 2019 22:32:35 -0400 (EDT) From: "Tobin C. Harding" To: Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Greg Kroah-Hartman Cc: "Tobin C. Harding" , "Rafael J. Wysocki" , Joe Lawrence , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 2/5] kobject: Remove docstring reference to kset Date: Thu, 2 May 2019 12:31:39 +1000 Message-Id: <20190502023142.20139-3-tobin@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190502023142.20139-1-tobin@kernel.org> References: <20190502023142.20139-1-tobin@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. * @kobj: kobject in question, with which to build the path * @gfp_mask: the allocation type used to allocate the path * - * The result must be freed by the caller with kfree(). + * Return: The newly allocated memory, caller must free with kfree(). */ char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask) { -- 2.21.0