aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mana/main.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-05-19 07:02:15 +0000
committerLeon Romanovsky <[email protected]>2024-05-30 12:14:19 +0000
commit38c02d813aa321c0e79b9887da6a2e2b57a75698 (patch)
tree5866f5c7e5cb84ec25465d7338ae229e63d51ed0 /drivers/infiniband/hw/mana/main.c
parentRDMA/efa: Fail probe on missing BARs (diff)
downloadkernel-38c02d813aa321c0e79b9887da6a2e2b57a75698.tar.gz
kernel-38c02d813aa321c0e79b9887da6a2e2b57a75698.zip
RDMA/irdma: Annotate flexible array with __counted_by() in struct irdma_qvlist_info
'num_vectors' is used to count the number of elements in the 'qv_info' flexible array in "struct irdma_qvlist_info". So annotate it with __counted_by() to make it explicit and enable some additional checks. This allocation is done in irdma_save_msix_info(). Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/2ca8b14adf79c4795d7aa95bbfc79253a6bfed82.1716102112.git.christophe.jaillet@wanadoo.fr Acked-by: Shiraz Saleem <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mana/main.c')
0 files changed, 0 insertions, 0 deletions