Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit ae59010c authored by Timothy S. Nelson's avatar Timothy S. Nelson Committed by Greg Kroah-Hartman
Browse files

PCI: return error on failure to read PCI ROMs


commit 97c44836 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: default avatarTimothy S. Nelson <wayland@wayland.id.au>
Acked-by: default avatarAlex Villacis-Lasso <a_villacis@palosanto.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ca9e7b96
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment