PCI: Warn about failures instead of "must_check" functions
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 12 Apr 2013 17:35:40 +0000 (11:35 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 17 Apr 2013 16:21:12 +0000 (10:21 -0600)
commit9fc9eea09f518b9bbdc0a14ef668698c913ba614
tree3e1b6cb29f75de5b9a0aa1db371a6fc3332d2d07
parentd67aed63b8bfa4a06575ed578328b02f909699ee
PCI: Warn about failures instead of "must_check" functions

These places capture return values to avoid "must_check" warnings,
but we didn't *do* anything with the return values, which causes
"set but not used" warnings.  We might as well do something instead
of just trying to evade the "must_check" warnings.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/bus.c
drivers/pci/setup-bus.c
drivers/pci/slot.c