Re: [PATCH net-next v2 5/5] netconsole: use netpoll_parse_ip_addr in local_ip_store

From: Simon Horman
Date: Wed Jul 23 2025 - 11:06:23 EST


On Mon, Jul 21, 2025 at 06:02:05AM -0700, Breno Leitao wrote:
> Replace manual IP address parsing with a call to netpoll_parse_ip_addr
> in remote_ip_store(), simplifying the code and reducing the chance of
> errors.
>
> The error message got removed, since it is not a good practice to
> pr_err() if used pass a wrong value in configfs.
>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>