diff options
| author | David Milburn <[email protected]> | 2009-03-20 19:14:23 +0000 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2009-03-25 02:42:49 +0000 |
| commit | 208f2a886a2f6cf329c9fcbf8d29a0dd245cc763 (patch) | |
| tree | 77d2752f78752acde983a12511821b656a8131aa /security/selinux/hooks.c | |
| parent | [libata] More robust parsing for IDENTIFY DEVICE multi_count field (diff) | |
| download | kernel-208f2a886a2f6cf329c9fcbf8d29a0dd245cc763.tar.gz kernel-208f2a886a2f6cf329c9fcbf8d29a0dd245cc763.zip | |
[libata] ahci: correct enclosure LED state save
ahci_transmit_led_message saves off the led_state
with a value that includes the port number OR'd
in, this incorrect value maybe reported back
in ahci_led_store.
For instance, if you turn off all the leds for
port 1 and cat the value back it will report 1
instead of 0.
# echo 0 > /sys/class/scsi_host/host1/em_message
# cat /sys/class/scsi_host/host1/em_message
1
Signed-off-by: David Milburn <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
