Jinjie, > Since both debugfs_create_dir() and debugfs_create_file() return > ERR_PTR and never return NULL, So use IS_ERR() to check it instead of > checking NULL. Applied to 6.6/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering
Jinjie, > Since both debugfs_create_dir() and debugfs_create_file() return > ERR_PTR and never return NULL, So use IS_ERR() to check it instead of > checking NULL. Applied to 6.6/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering