Re: [PATCH net-next] net/dns_resolver: clean up and simplify dns_query()
From: Jakub Kicinski
Date: Tue Mar 17 2026 - 22:20:18 EST
On Mon, 16 Mar 2026 22:38:45 +0100 Thorsten Blum wrote:
> Fold the name length checks into a single early check, and use
> kmemdup_nul() for name-only descriptions and snprintf() for
would be easier to review it if it was two changes but..
> "<type>:<name>" descriptions to simplify dns_query().
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> Compile-tested only.
.. we have a policy against encouraging trivial cleanups.
If you can't even test this let's not bother.
--
pw-bot: cr