From: Hidetoshi Seto Date: Mon, 7 Sep 2009 08:09:58 +0000 (+0900) Subject: PCI: pcie, aer: init struct aer_err_info for reuse X-Git-Tag: v2.6.32-rc1~670^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b4ffcf8432f7945e0bd0571f10a2f2bd1dbd850;p=pandora-kernel.git PCI: pcie, aer: init struct aer_err_info for reuse In case of multiple errors, struct aer_err_info would be reused among all reported devices. So the info->status should be initialized before recycled. Otherwise error of one device might be reported as the error of another device. Also info->flags has similar problem on reporting TLP header. Signed-off-by: Hidetoshi Seto Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed