] ring: fix unmatched type definition and usage
Field 'flags' of struct rte_ring is defined as int type. However, it is used as
unsigned
int. To ensure consistency, change the type of flags to unsigned int. Since
these two
types has the same byte size, this change is not an ABI chan
> -Original Message-
> From: Jie Hai
> Sent: Tuesday, May 9, 2023 9:29 AM
> To: Honnappa Nagarahalli ; Konstantin Ananyev
> ; Ruifeng Wang ; Gavin
> Hu
> ; Olivier Matz ; Dharmik Jayesh
> Thakkar
>
> Cc: dev@dpdk.org; liudongdo...@huawei.com
>
Field 'flags' of struct rte_ring is defined as int type. However,
it is used as unsigned int. To ensure consistency, change the
type of flags to unsigned int. Since these two types has the
same byte size, this change is not an ABI change.
Fixes: cc4b218790f6 ("ring: support configurable element si
3 matches
Mail list logo