mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 03:37:16 +00:00
isp: Fix endianness conversion in isp_read_flash_data()
Reported by: Jenkins
Fixes: 10ed63fc06
("isp(4): Rework firmware handling/loading")
This commit is contained in:
parent
2319ca6a01
commit
91d2a093df
|
@ -4575,7 +4575,7 @@ isp_read_flash_data(ispsoftc_t *isp, uint32_t *dwptr, uint32_t faddr, uint32_t d
|
|||
rval = isp_read_flash_dword(isp, faddr, dwptr);
|
||||
if (rval != ISP_SUCCESS)
|
||||
break;
|
||||
htole32(*((uint32_t *)(dwptr)));
|
||||
*dwptr = htole32(*dwptr);
|
||||
}
|
||||
|
||||
return (rval);
|
||||
|
|
Loading…
Reference in a new issue