From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Userspace interface breakage in power/state Date: Mon, 16 Jan 2006 00:25:17 +0000 Message-ID: <20060116002516.GB4648@srcf.ucam.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============040615837112974784==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: linux-kernel@linux.kernel.org, linux-pm@lists.osdl.org List-Id: linux-pm@vger.kernel.org --===============040615837112974784== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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@srcf.ucam.org --===============040615837112974784== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --===============040615837112974784==--