Messages in this thread | | | Date | Sat, 13 May 2023 10:59:43 +0100 | From | "Russell King (Oracle)" <> | Subject | Re: [PATCH] net: marvell: fix error checking for debugfs |
| |
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@gmail.com> > Signed-off-by: SikkiLadho <mushi.shar@gmail.com>
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!
| |