# Re: \[PATCH net-next v3 01/13\] devlink: expose devlink instance index over netlink

- From: Jakub Kicinski \<kuba@kernel.org\>
- Date: 2026-03-07 03:32:55 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/03/8535616
- Thread: https://ratatoskr.run/netdev/2026/03/8535581/t.md

```text
On Wed,  4 Mar 2026 17:00:10 +0100 Jiri Pirko wrote:
> +      -
> +        name: index
> +        type: uint
> +        doc: Unique devlink instance index.

AI complains on patch 6 that the index is truncated because it's saved
to a u32. Let's add:

        checks:
           max: u32-max

here and the policy will take care of the check, you can then remove
the explicit checks too
-- 
pw-bot: cr
```
