[0/2] mempool: patches

Message ID 20240401170257.121047-1-stephen@networkplumber.org (mailing list archive)
Headers
Series mempool: patches |

Message

Stephen Hemminger April 1, 2024, 5:01 p.m. UTC
Tried building mempool with MSVC. In addition to the 
__rte_constant macro Tyler had already done.

This fixes a couple of warnings, and cleans up the
code.

Stephen Hemminger (2):
  mempool: replace GCC pragma with cast
  mempool: fix unused warning with MSVC

 lib/mempool/rte_mempool.c | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)
  

Comments

David Marchand June 14, 2024, 2:25 p.m. UTC | #1
On Mon, Apr 1, 2024 at 7:03 PM Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> Tried building mempool with MSVC. In addition to the
> __rte_constant macro Tyler had already done.
>
> This fixes a couple of warnings, and cleans up the
> code.
>
> Stephen Hemminger (2):
>   mempool: replace GCC pragma with cast
>   mempool: fix unused warning with MSVC
>
>  lib/mempool/rte_mempool.c | 14 ++------------
>  1 file changed, 2 insertions(+), 12 deletions(-)

Series applied, thanks.