diff options
author | Dave Jones <davej@redhat.com> | 2005-08-09 00:20:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-09 11:24:31 -0700 |
commit | 144a50ea5e1487b8b8e722289b4177713354448a (patch) | |
tree | 061183fc40ee173cd9cb3a80c93ea4ef8284093d /drivers/pci/hotplug | |
parent | 7bcf5c0e7fd9ab4ddb9e24d7e91bda2ac23e5678 (diff) |
[PATCH] must_check attributes for PCI layer.
Self explanatory really. Some newer gcc's print a warning
if a function is used and we don't check its result.
We do this for a bunch of things in the kernel already,
this extends that to the PCI layer.
Based on a patch originally from Arjan van de Ven.
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug')
0 files changed, 0 insertions, 0 deletions