From: Betty Dall Date: Fri, 13 Dec 2013 15:23:16 +0000 (-0700) Subject: PCI/AER: Ignore non-PCIe AER error sources in aer_hest_parse() X-Git-Tag: v3.14-rc1~132^2~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e7f8d0b30d4e3e30007b10eb2916d970b5f8c93;p=pandora-kernel.git PCI/AER: Ignore non-PCIe AER error sources in aer_hest_parse() aer_set_firmware_first() searches the HEST for an error source descriptor matching the specified PCI device. It uses the apei_hest_parse() iterator to call aer_hest_parse() for every descriptor in the HEST. Previously, aer_hest_parse() incorrectly assumed every descriptor was for a PCIe error source. This patch adds a check to avoid that error. [bhelgaas: factor check into helper, use in aer_hest_parse_aff(), changelog] Signed-off-by: Betty Dall Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed