smartpqi: Make pqisrc_is_supported_write static

This fixes a build error with -O0 and matches all the other pqisrc_is_*
routines in the file.

--- kernel.full ---
ld: error: undefined symbol: pqisrc_is_supported_write
>>> referenced by smartpqi_request.c:1799 (/.../smartpqi_request.c:1799)
>>>               smartpqi_request.o:(pqisrc_build_scsi_cmd_raidbypass)
This commit is contained in:
Navdeep Parhar
2026-01-10 12:15:17 -08:00
parent 509a185dd9
commit 73a238643a
+1 -1
View File
@@ -1180,7 +1180,7 @@ fill_lba_for_scsi_rw(pqisrc_softstate_t *softs, uint8_t *cdb, aio_req_locator_t
/* determine whether writes to certain types of RAID are supported. */
inline boolean_t
static inline boolean_t
pqisrc_is_supported_write(pqisrc_softstate_t const *softs,
pqi_scsi_dev_t const *device)
{