As indicated by Sekhar in [1], there seems to be a tendency to use
IS_ERR_VALUE to check the error result for pm_runtime_* functions which
make no sense considering commit
|
||
|---|---|---|
| .. | ||
| alloc | ||
| d_find_alias.cocci | ||
| devm_ioremap_resource.cocci | ||
| err_cast.cocci | ||
| kstrdup.cocci | ||
| memdup.cocci | ||
| memdup_user.cocci | ||
| pm_runtime.cocci | ||
| ptr_ret.cocci | ||
| resource_size.cocci | ||
| simple_open.cocci | ||