Re: [patch] kobject: don't oops on null kobject.name

From: Chuck Ebbert
Date: Sat Jan 14 2006 - 11:20:58 EST


In-Reply-To: <20060114034404.GA23061@xxxxxxxxx>

On Fri, 13 Jan 2006, Greg KH wrote:

> > I applied your patch to prevent registration of objects with null names on
> > top of my patch, then applied this to see if my test still triggered, and
> > the message was printed:
>
> What was the message? What traceback?
>
> So, I think the point is that it isn't a kobject_add() issue, right?

My message was printed:

get_kobj_path_length: encountered NULL name

So an uninitialized kobject was passed to kobject_get_path().

This is likely a problem somewhere in IDE when "hdx=ide-scsi' is used.
--
Chuck
Currently reading: _Olympos_ by Dan Simmons
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/