]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix for compilation warning in mlx5en(4).
authorHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 8 May 2019 11:06:22 +0000 (11:06 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 8 May 2019 11:06:22 +0000 (11:06 +0000)
commit8b825a185757d5d4fb11c360170f7770b63ab7e8
tree54d0f998ad8d8af2fbfcf2b501b6b6fd0f6e7bc0
parentbd802cea53286c20d6f6dbd02c1666a42c761aed
Fix for compilation warning in mlx5en(4).

Function 'mlx5e_alloc_rx_wqe' can never be inlined because it uses alloca
(override using the always_inline attribute)

MFC after: 3 days
Sponsored by: Mellanox Technologies
sys/dev/mlx5/mlx5_en/en.h
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
sys/dev/mlx5/mlx5_en/mlx5_en_rx.c