lkml.org 
[lkml]   [2006]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-pm] [PATCH 5/5] [pci pm] Make pci_choose_state() use the real device state requested
Hi!

> case PM_EVENT_FREEZE:
> case PM_EVENT_SUSPEND:
> - return PCI_D3hot;
> + if (msg.state && msg.state <= PCI_D3hot)
> + state = msg.state;
> + break;
> default:

Silently ignores wrong value passed-in by user. Not nice...
Pavel

--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-18 17:04    [W:0.074 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site