The branch main has been updated by np:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=73a238643a2e9ef298d961966040587ca0970a58

commit 73a238643a2e9ef298d961966040587ca0970a58
Author:     Navdeep Parhar <[email protected]>
AuthorDate: 2026-01-10 20:15:17 +0000
Commit:     Navdeep Parhar <[email protected]>
CommitDate: 2026-01-10 20:22:36 +0000

    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)
---
 sys/dev/smartpqi/smartpqi_request.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/smartpqi/smartpqi_request.c 
b/sys/dev/smartpqi/smartpqi_request.c
index d993897cd1f9..3929a727c270 100644
--- a/sys/dev/smartpqi/smartpqi_request.c
+++ b/sys/dev/smartpqi/smartpqi_request.c
@@ -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)
 {

Reply via email to