Re: [PATCH net-next 1/9] netlink: Introduce nlmsg_payload helper

From: Jakub Kicinski
Date: Fri Apr 11 2025 - 19:01:15 EST


On Fri, 11 Apr 2025 10:00:48 -0700 Breno Leitao wrote:
> +/**
> + * nlmsg_payload - message payload if the data fits in the len
> + * @nlh: netlink message header
> + * @len: struct length
> + */

W=1 now warns about the lack of Return: statements and we return
the pointer here. We gotta add it to the kdoc.

With that fixed:

Reviewed-by: Jakub Kicinski <kuba@xxxxxxxxxx>
--
pw-bot: cr