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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user