Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 97c44836 authored by Timothy S. Nelson's avatar Timothy S. Nelson Committed by Jesse Barnes
Browse files

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: 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>
parent 3419c75e
Loading
Loading
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