dmar: fix uninitialised 'ret' variable in dmar_parse_dev()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 18 Oct 2008 14:43:14 +0000 (15:43 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 18 Oct 2008 14:45:48 +0000 (15:45 +0100)
commitf82851a8a480a26611175f064f54e17f5f7b01ae
tree6649d01d7adb0f1e3e5357f10082cb9823d2a40d
parentbb9e6d65078da2f38cfe1067cfd31a896ca867c0
dmar: fix uninitialised 'ret' variable in dmar_parse_dev()

This was introduced by commit 1886e8a90a580f3ad343f2065c84c1b9e1dac9ef
("x64, x2apic/intr-remap: code re-structuring, to be used by both DMA
and Interrupt remapping"). It was causing bogus results to be returned
from dmar_parse_dev() when the first unit with the INCLUDE_ALL flag was
processed.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/dmar.c