Re: [PATCH] net: marvell: fix error checking for debugfs

From: Russell King (Oracle)
Date: Sat May 13 2023 - 05:59:57 EST


On Sat, May 13, 2023 at 06:46:28AM +0500, SikkiLadho wrote:
> This commit fixes error checking in by using IS_ERR inline function to
> check for errors.
>
> Suggested-by: Ivan Orlov <ivan.orlov0322@xxxxxxxxx>
> Signed-off-by: SikkiLadho <mushi.shar@xxxxxxxxx>

The modern wisdom for debugfs is not to check for any errors, so if
we're going to touch this, that's the route that any patch should be
taking.

Thanks.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!