[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250408005404.10223-1-kuniyu@amazon.com>
Date: Mon, 7 Apr 2025 17:53:48 -0700
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: <leitao@...ian.org>
CC: <davem@...emloft.net>, <dsahern@...nel.org>, <edumazet@...gle.com>,
<horms@...nel.org>, <kernel-team@...a.com>, <kuba@...nel.org>,
<kuniyu@...zon.com>, <linux-kernel@...r.kernel.org>,
<linux-trace-kernel@...r.kernel.org>, <mathieu.desnoyers@...icios.com>,
<mhiramat@...nel.org>, <ncardwell@...gle.com>, <netdev@...r.kernel.org>,
<pabeni@...hat.com>, <rostedt@...dmis.org>, <song@...nel.org>,
<yonghong.song@...ux.dev>
Subject: Re: [PATCH net-next v2 1/2] net: pass const to msg_data_left()
From: Breno Leitao <leitao@...ian.org>
Date: Mon, 07 Apr 2025 06:40:43 -0700
> The msg_data_left() function doesn't modify the struct msghdr parameter,
> so mark it as const. This allows the function to be used with const
> references, improving type safety and making the API more flexible.
>
> Signed-off-by: Breno Leitao <leitao@...ian.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@...zon.com>
Powered by blists - more mailing lists