From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753576AbYLHWCd (ORCPT ); Mon, 8 Dec 2008 17:02:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752626AbYLHWC0 (ORCPT ); Mon, 8 Dec 2008 17:02:26 -0500 Received: from ozlabs.org ([203.10.76.45]:37153 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752607AbYLHWCZ (ORCPT ); Mon, 8 Dec 2008 17:02:25 -0500 From: Rusty Russell To: "Eric W. Biederman" Subject: [PATCH] Make Documentation/kobject.txt a little more coherent. Date: Tue, 9 Dec 2008 08:32:14 +1030 User-Agent: KMail/1.10.1 (Linux/2.6.27-9-generic; KDE/4.1.2; i686; ; ) Cc: Greg KH , linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Message-Id: <200812090832.20403.rusty@rustcorp.com.au> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by alpha id mB8M2bdq017167 While reading Documentation/kobject.txt: Note kobject_rename does perform any locking or have a solid notion of what names are valid so the provide must provide their own sanity checking and serialization. I expect better: You never see me hard with time word making sentencecoherent stuff. Ever. Signed-off-by: Rusty Russell diff --git a/Documentation/kobject.txt b/Documentation/kobject.txt--- a/Documentation/kobject.txt+++ b/Documentation/kobject.txt@@ -118,8 +118,8 @@ the name of the kobject, call kobject_re int kobject_rename(struct kobject *kobj, const char *new_name); -Note kobject_rename does perform any locking or have a solid notion of-what names are valid so the provide must provide their own sanity checking+kobject_rename does not perform any locking or have a solid notion of+what names are valid so the caller must provide their own sanity checking and serialization. There is a function called kobject_set_name() but that is legacy cruft and{.n++%ݶw{.n+{G{ayʇڙ,jfhz_(階ݢj"mG?&~iOzv^m ?I