Re: [PATCH] protect against buggy drivers

From: Greg KH
Date: Fri Oct 08 2004 - 12:16:13 EST


On Fri, Oct 08, 2004 at 09:53:41AM -0700, Stephen Hemminger wrote:
> + strlen(name) >= KOBJ_NAME_LEN ||

There's no need for this check, if we fix the other usage of
cdev->kobj.name in this file to use the proper kobject_name() and
kobject_set_name() functions.

thanks,

greg k-h
-
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/