Re: [PATCH] scsi: lpfc: fix error check return value of debugfs_create_file()

From: Martin K. Petersen
Date: Tue Apr 26 2022 - 09:06:45 EST



> If an error occurs, debugfs_create_file() will return ERR_PTR(-ERROR),
> so use IS_ERR() to check it.

Applied to 5.19/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering