Re: [RFC PATCH] use dev_set_name(,NULL) to prevent leaking

From: Greg KH
Date: Tue Apr 28 2009 - 10:58:13 EST


On Tue, Apr 28, 2009 at 12:42:08AM -0700, Yinghai Lu wrote:
>
> those about 1/3 dev_set_name() etc.
>
> wonder if there is better way to do that

I don't see why this is needed, the name will be cleaned up when the
device goes away, automatically, right?

still confused,

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/