summaryrefslogtreecommitdiffstats
path: root/mm/internal.h
diff options
context:
space:
mode:
authorTimothy S. Nelson <wayland@wayland.id.au>2009-01-29 20:12:47 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-02-05 01:58:41 +0100
commit97c44836cdec1ea713a15d84098a1a908157e68f (patch)
treebc544c64ed8eeb3feb2f0b210ae7db04a40e1bae /mm/internal.h
parentPCI: properly clean up ASPM link state on device remove (diff)
downloadlinux-97c44836cdec1ea713a15d84098a1a908157e68f.tar.xz
linux-97c44836cdec1ea713a15d84098a1a908157e68f.zip
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 <wayland@wayland.id.au> Acked-by: Alex Villacis-Lasso <a_villacis@palosanto.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions