[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241003173928.55b74641@kernel.org>
Date: Thu, 3 Oct 2024 17:39:28 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Kuniyuki Iwashima
<kuni1840@...il.com>, <netdev@...r.kernel.org>, Jeremy Kerr
<jk@...econstruct.com.au>, Matt Johnston <matt@...econstruct.com.au>
Subject: Re: [PATCH v1 net 4/6] mctp: Handle error of
rtnl_register_module().
On Thu, 3 Oct 2024 13:57:23 -0700 Kuniyuki Iwashima wrote:
> Since introduced, mctp has been ignoring the returned value
> of rtnl_register_module(), which could fail.
>
> Let's handle the errors by rtnl_register_module_many().
>
> Fixes: 583be982d934 ("mctp: Add device handling and netlink interface")
> Fixes: 831119f88781 ("mctp: Add neighbour netlink interface")
> Fixes: 06d2f4c583a7 ("mctp: Add netlink route management")
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>
Build's unhappy about the section markings:
WARNING: modpost: vmlinux: section mismatch in reference: mctp_init+0xb7 (section: .init.text) -> mctp_neigh_exit (section: .exit.text)
--
pw-bot: cr
Powered by blists - more mailing lists