mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 19:28:36 +00:00
7d154c4dc6
Depending on the card's firmware version, it may return different length responses for MPI2_FUNCTION_IOC_FACTS. But the first part of the response contains the length of the rest, so query it first to get the length and then use that to size the buffer for the full response. Also, correctly zero-initialize MPI2_IOC_FACTS_REQUEST. It only worked by luck before. PR: 264848 Reported by: Julien Cigar <julien@perdition.city> MFC after: 1 week Sponsored by: Axcient Reviewed by: scottl, imp Differential Revision: https://reviews.freebsd.org/D38739 |
||
---|---|---|
.. | ||
Makefile | ||
Makefile.depend | ||
mps_cmd.c | ||
mps_debug.c | ||
mps_flash.c | ||
mps_set.c | ||
mps_show.c | ||
mps_slot.c | ||
mpsutil.8 | ||
mpsutil.c | ||
mpsutil.h |