Userspace interface breakage in power/state

From: Matthew Garrett
Date: Sun Jan 15 2006 - 19:25:38 EST


(Resent, without the wrong address for lkml)

In older kernels, power/state for PCI devices took a PCI power state as
an argument and so "3" was an entirely sensible thing to echo into it.
In current kernels, it hits a BUG() in pci_choose_state and things blow
up.

While I realise that the former interface was broken and wrong, would it
be possible to move to a new one without breaking existing code?
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
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/