summaryrefslogtreecommitdiff
path: root/scripts/Makefile.modpost
diff options
context:
space:
mode:
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2015-01-27 18:01:45 +0000
committerBjorn Helgaas <bhelgaas@google.com>2015-01-28 17:08:20 -0600
commitd2be00c0fb5ae0794deffcdb0425cd5a8d823db0 (patch)
tree6f0a31e8a236f9278c15b40988f4ea23fbfdc496 /scripts/Makefile.modpost
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
downloadkernel-d2be00c0fb5ae0794deffcdb0425cd5a8d823db0.tar.gz
of/pci: Free resources on failure in of_pci_get_host_bridge_resources()
In the function of_pci_get_host_bridge_resources() if the parsing of ranges fails, previously allocated resources inclusive of bus_range are not freed and are not expected to be freed by the function caller on error return. This patch fixes the issues by adding code that properly frees resources and bus_range before exiting the function with an error return value. Fixes: cbe4097f8ae6 ("of/pci: Add support for parsing PCI host bridge resources from DT") Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Liviu Dudau <liviu.dudau@arm.com> CC: Arnd Bergmann <arnd@arndb.de> CC: Rob Herring <robh+dt@kernel.org>
Diffstat (limited to 'scripts/Makefile.modpost')
0 files changed, 0 insertions, 0 deletions
ery handlingJason Gerecke 2017-05-05HID: wacom: Add ability to provide explicit battery status infoJason Gerecke 2017-04-06HID: wacom: generic: sync pad events only for actual packetsPing Cheng 2017-03-06HID: wacom: generic: support touch on/off softkeyPing Cheng 2017-03-06HID: wacom: generic: add mode change touch keyBenjamin Tissoires 2017-03-06HID: wacom: generic: add 3 tablet touch keysPing Cheng 2017-01-26HID: wacom: generic: support LEDsAaron Armstrong Skomra 2017-01-26HID: wacom: generic: support generic touch switchAaron Armstrong Skomra 2017-01-26HID: wacom: generic: add vendor defined touchAaron Armstrong Skomra 2017-01-26HID: wacom: generic: remove input_event_flagAaron Armstrong Skomra 2017-01-26HID: wacom: Support 2nd-gen Intuos Pro's Bluetooth classic interfaceJason Gerecke 2017-01-26HID: wacom: Move WAC_CMD_* into wacom_wac.hJason Gerecke