[PATCH] must_check attributes for PCI layer.
authorDave Jones <davej@redhat.com>
Tue, 9 Aug 2005 04:20:10 +0000 (00:20 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Sep 2005 18:24:31 +0000 (11:24 -0700)
commit144a50ea5e1487b8b8e722289b4177713354448a
tree061183fc40ee173cd9cb3a80c93ea4ef8284093d
parent7bcf5c0e7fd9ab4ddb9e24d7e91bda2ac23e5678
[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>
include/linux/pci.h