mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 13:26:41 +07:00
e33761e6f2
The range check in the sprom image parser hex2sprom() is broken. One sprom word is 4 hex characters. This fixes the check and also adds much better sanity checks to the code. We better make sure the image is OK by doing some sanity checks to avoid bricking the device by accident. Signed-off-by: Michael Buesch <mb@bu3sch.de> Cc: stable@kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
b43_pci_bridge.c | ||
driver_chipcommon_pmu.c | ||
driver_chipcommon.c | ||
driver_extif.c | ||
driver_gige.c | ||
driver_mipscore.c | ||
driver_pcicore.c | ||
embedded.c | ||
Kconfig | ||
main.c | ||
Makefile | ||
pci.c | ||
pcihost_wrapper.c | ||
pcmcia.c | ||
scan.c | ||
sdio.c | ||
sprom.c | ||
ssb_private.h |