From: Timothy S. Nelson Date: Thu, 29 Jan 2009 19:12:47 +0000 (+1100) Subject: PCI: return error on failure to read PCI ROMs X-Git-Tag: v2.6.27.16~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae59010c012538c749abc8bf760855a71b014072;p=pandora-kernel.git PCI: return error on failure to read PCI ROMs commit 97c44836cdec1ea713a15d84098a1a908157e68f upstream. This patch makes the ROM reading code return an error to user space if the size of the ROM read is equal to 0. The patch also emits a warnings if the contents of the ROM are invalid, and documents the effects of the "enable" file on ROM reading. Signed-off-by: Timothy S. Nelson Acked-by: Alex Villacis-Lasso Signed-off-by: Jesse Barnes Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed