Re: [PATCH] Driver core: don't initialize wakeup flags

From: Greg KH
Date: Mon Mar 08 2010 - 17:01:12 EST


On Mon, Mar 08, 2010 at 04:46:19PM -0500, Alan Stern wrote:
> This patch (as1351) removes an unnecessary and unwanted assignment
> from device_initialize(). The wakeup flags are set to 0 along with
> everything else when the device structure is allocated, so we don't
> need to do it again. Furthermore, the subsystem might already have
> set these flags to their correct values; we don't want to override it.

Does this solve a bug where a subsystem does do this already? Or can it
wait for 2.6.35?

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/