summaryrefslogtreecommitdiffstats
path: root/Documentation/cpu-hotplug.txt
diff options
context:
space:
mode:
authorKenji Kaneshige2009-06-16 04:00:47 +0200
committerJesse Barnes2009-06-16 23:30:11 +0200
commit498a8faf2c7eb974f70b7c5a60a31f0d48c35d44 (patch)
treeb7703de6971327eacbb5471bb251a05b9c3f56ea /Documentation/cpu-hotplug.txt
parentPCI: Remove untested Electromechanical Interlock (EMI) support in pciehp. (diff)
downloadkernel-qcow2-linux-498a8faf2c7eb974f70b7c5a60a31f0d48c35d44.tar.gz
kernel-qcow2-linux-498a8faf2c7eb974f70b7c5a60a31f0d48c35d44.tar.xz
kernel-qcow2-linux-498a8faf2c7eb974f70b7c5a60a31f0d48c35d44.zip
PCI hotplug: fix return value of has_foo() functions
Current has_foo() functions in pci_hotplug_core.c returns 0 if the "foo" property is true. It would cause misunderstanding. In addition, the error code of those functions is never checked, so this patch changes those functions' error code to 'bool' and return true if the property "foo" is true. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Reviewed-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'Documentation/cpu-hotplug.txt')
0 files changed, 0 insertions, 0 deletions