Re: [PATCH net-next] netlink: make range pointers in policies const

From
Jiri Pirko <jiri@resnulli.us>
Date
2023-10-26 05:44:16
Also in
linux-wireless
Reply to
Jakub Kicinski, 2023-10-25
Wed, Oct 25, 2023 at 06:22:04PM CEST, kuba@kernel.org wrote:
struct nla_policy is usually constant itself, but unless
we make the ranges inside constant we won't be able to
make range structs const. The ranges are not modified
by the core.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jiri Pirko <redacted>
Thread (6 messages) 6 messages, 6 authors, last reply 2023-10-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help