Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752615AbXLDIWW (ORCPT ); Tue, 4 Dec 2007 03:22:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751301AbXLDIWO (ORCPT ); Tue, 4 Dec 2007 03:22:14 -0500 Received: from an-out-0708.google.com ([209.85.132.240]:51200 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750730AbXLDIWO (ORCPT ); Tue, 4 Dec 2007 03:22:14 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OFGTF8/HlgiTeTdKz8PYqqizc2FDuoa2BogNr7Zc+88FaW7O1XPPKisqkYGv8IeYboiCob8Xevqj3BHtJpyfLWRkcs6l20hanGGtUKjdPcVMpzClzBZawqZcnvUHk7o+gZfT6RwK9baz0t/dRlyq7NWgl7BJwLCcJ8MwOVjR8YY= Message-ID: Date: Tue, 4 Dec 2007 16:22:13 +0800 From: "Dave Young" To: "Greg KH" Subject: Re: The use of KOBJ_NAME_LEN Cc: linux-kernel@vger.kernel.org In-Reply-To: <20071204082027.GA3014@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071204064547.GA17094@darkstar.lan> <20071204074612.GA25316@suse.de> <20071204082027.GA3014@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1149 Lines: 30 On Dec 4, 2007 4:20 PM, Greg KH wrote: > On Tue, Dec 04, 2007 at 03:53:15PM +0800, Dave Young wrote: > > On Dec 4, 2007 3:46 PM, Greg KH wrote: > > > On Tue, Dec 04, 2007 at 02:45:47PM +0800, Dave Young wrote: > > > > Hi, > > > > Does the KOBJ_NAME_LEN really means the limit of kobject name length? seems > > > > not . And if it's true, is the KOBJ_NAME_LEN of 20 enough to use? > > > > > > No, not anymore, the kobject name is totally dynamic. > > > > Eh, Why does this macro still exist? If KOBJ_NAME_LEN is really > > needed, maybe it should be renamed to something else to avoid > > misleading. > > Right now other .h files use it also. It isn't hurting anything for > now, and Kay has some patches he is working on to get rid of the static > bus_id array, which will then let us get rid of that define entirely. > Good to know, thanks! > thanks, > > greg k-h > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/