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.29-rc4~5^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97c44836cdec1ea713a15d84098a1a908157e68f;p=pandora-kernel.git PCI: return error on failure to read PCI ROMs 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 --- Reading git-diff-tree failed