[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230227183349.68409721@kernel.org>
Date: Mon, 27 Feb 2023 18:33:49 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Yang Li <yang.lee@...ux.alibaba.com>
Cc: davem@...emloft.net, ralf@...ux-mips.org, edumazet@...gle.com,
pabeni@...hat.com, linux-hams@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH net-next] net: rose: Remove NULL check before dev_{put,
hold}
On Tue, 28 Feb 2023 08:52:17 +0800 Yang Li wrote:
> The call netdev_{put, hold} of dev_{put, hold} will check NULL,
> so there is no need to check before using dev_{put, hold},
> remove it to silence the warning:
>
> ./net/rose/rose_route.c:619:2-10: WARNING: NULL check before dev_{put, hold} functions is not needed.
# Form letter - net-next is closed
The merge window for v6.3 has begun and therefore net-next is closed
for new drivers, features, code refactoring and optimizations.
We are currently accepting bug fixes only.
Please repost when net-next reopens after Mar 6th.
RFC patches sent for review only are obviously welcome at any time.
Powered by blists - more mailing lists