git: 5c64fbe7651c - stable/13 - ocs: Fix mismatch in array bounds.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 03 May 2023 00:29:54 UTC
The branch stable/13 has been updated by jhb:

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

commit 5c64fbe7651ceb3a3f20c1bd76fb22cf635b8605
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-12-07 20:31:33 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-03 00:19:01 +0000

    ocs: Fix mismatch in array bounds.
    
    Reported by:    GCC -Warray-parameter
    Reviewed by:    imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D37545
    
    (cherry picked from commit fb4a86164dc5ded5b42b7511d3bf48ae11ec891e)
---
 sys/dev/ocs_fc/sli4.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/ocs_fc/sli4.h b/sys/dev/ocs_fc/sli4.h
index c8bb9ab5c015..902235c410f7 100644
--- a/sys/dev/ocs_fc/sli4.h
+++ b/sys/dev/ocs_fc/sli4.h
@@ -3675,7 +3675,7 @@ typedef struct {
 } sli4_cmd_rq_cfg_t;
 extern int32_t sli_cmd_reg_fcfi(sli4_t *, void *, size_t, uint16_t,
 				sli4_cmd_rq_cfg_t rq_cfg[SLI4_CMD_REG_FCFI_NUM_RQ_CFG], uint16_t);
-extern int32_t sli_cmd_reg_fcfi_mrq(sli4_t *, void *, size_t, uint8_t, uint16_t, uint16_t, uint8_t, uint8_t , uint16_t, sli4_cmd_rq_cfg_t *);
+extern int32_t sli_cmd_reg_fcfi_mrq(sli4_t *, void *, size_t, uint8_t, uint16_t, uint16_t, uint8_t, uint8_t , uint16_t, sli4_cmd_rq_cfg_t rq_cfg[SLI4_CMD_REG_FCFI_NUM_RQ_CFG]);
 
 extern int32_t sli_cmd_reg_rpi(sli4_t *, void *, size_t, uint32_t, uint16_t, uint16_t, ocs_dma_t *, uint8_t, uint8_t);
 extern int32_t sli_cmd_reg_vfi(sli4_t *, void *, size_t, ocs_domain_t *);