# Re: \[PATCH net-next v3 1/9\] ravb: Use unsigned int for num\_tx\_desc variable in struct ravb\_private

- From: Sergey Shtylyov \<hidden\>
- Date: 2021-08-19 15:26:45 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/08/9333972
- Thread: https://ratatoskr.run/netdev/2021/08/9333960/t.md

```text
On 8/18/21 10:07 PM, Biju Das wrote:

> The number of TX descriptors per packet is an unsigned value and
> the variable for holding this information should be unsigned.
> 
> This patch replaces the data type of num_tx_desc variable in struct
> ravb_private from 'int' to 'unsigned int'.
> This patch also updates the data type of local variables to unsigned int,
> where the local variables are evaluated using num_tx_desc.
> 
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Reviewed-by: Sergey Shtylyov <redacted>

[...]

MBR, Sergey
```
