The branch stable/14 has been updated by zlei:

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

commit a0d353904a7e1e2f1c6e633cc8b12d2ec4789b1e
Author:     Zhenlei Huang <[email protected]>
AuthorDate: 2025-10-13 10:12:28 +0000
Commit:     Zhenlei Huang <[email protected]>
CommitDate: 2026-01-31 18:25:01 +0000

    scsi: Use proper prototype for SYSINIT functions
    
    MFC after:      1 week
    
    (cherry picked from commit f94b1a8ca6e016aeff09e2053dc293b83c3aa912)
    (cherry picked from commit 52b3cb8918e38ccd0f2e763fe3120bfb7858b6e1)
---
 sys/cam/scsi/scsi_all.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c
index 20c1e961bf63..451b801e8060 100644
--- a/sys/cam/scsi/scsi_all.c
+++ b/sys/cam/scsi/scsi_all.c
@@ -113,7 +113,7 @@ static void fetchtableentries(int sense_key, int asc, int 
ascq,
                                  const struct asc_table_entry **);
 
 #ifdef _KERNEL
-static void    init_scsi_delay(void);
+static void    init_scsi_delay(void *);
 static int     sysctl_scsi_delay(SYSCTL_HANDLER_ARGS);
 static int     set_scsi_delay(int delay);
 #endif
@@ -9380,7 +9380,7 @@ scsi_vpd_supported_page(struct cam_periph *periph, 
uint8_t page_id)
 }
 
 static void
-init_scsi_delay(void)
+init_scsi_delay(void *dummy __unused)
 {
        int delay;
 

Reply via email to