Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6747248yba; Wed, 1 May 2019 19:42:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfX2N2T5OU8FfA7848LAZbqjm6FvoTsV0e0ZPSzH13U+//K+ADYbd9e+wDwqEIWK3lnj50 X-Received: by 2002:a63:243:: with SMTP id 64mr1340739pgc.214.1556764966912; Wed, 01 May 2019 19:42:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556764966; cv=none; d=google.com; s=arc-20160816; b=DS2/UDsJyOdotpnZ1LRnM02tFAMhL2FnnTbGQK4HruAih4VrqJQpqp5cF99AVqJMlz 2923xxh10uaq/QZ8HJG2ZHv48jS8kZx6nCt7W6PA75GGHQjE3HzVVjWJ/a+4zgaad1if htEteil7J9w6ZTWqW4X52gXEQrWxR0JfCAByYJrIAb3KdlIgqaGanyUQRTy5n5L/oBuW 9tJ4NiZbj0eYmCm8I/sD5YfpXsZqfydy7UZ5foDlSYsJ12sK0mgM7OE8/MdltWM3M7Rw SCc2NgjFDYoNv0ygnUqUCPt/zFeYrhHGERhJGPMQGCKbvhlX3+n/Ti7JEdqV6g1csrYh 0NyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=T9nKSChfea+oLMY5Kpw3eMK6igS+zn5o65ZT0pR8nNs=; b=tmjF+riJW3ONyf8AH8m4wM5xqk1jSsZecUKbaK0kzsnhgXshDZw1x+L6I/y2uTbOg/ Mc2LiHGMjgMacxWc6DQmHq7m7bOPYWUxCQ3A8TToaYp1XFjWKUmn+HQeoeKFTPjhKK7t V16t3qz6/qUPWam+viFXTbTo76C2zlYBESC4wkmk4OFZ4l1bvp7IQbbeK1QfdPGP8LFN aYxpL05uE4K5sfz3DzCCQxfo8fpiLws7vd2N3kZ1OlzOF3j4l+rMJnngDgppx6Xi+FCN 0GF1VlsowzRdljAxH7i0OtuBhpo5JuyU+0KRL8yu99hwfb66ClHImEZNrthY2GWywDRm wYKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=3IsP2xoj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si10658957pgl.72.2019.05.01.19.42.31; Wed, 01 May 2019 19:42:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=3IsP2xoj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726496AbfEBCkO (ORCPT + 99 others); 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