diff options
| author | Gustavo A. R. Silva <[email protected]> | 2020-05-07 13:12:45 +0000 |
|---|---|---|
| committer | Chanwoo Choi <[email protected]> | 2020-05-28 09:02:40 +0000 |
| commit | 48bbf6375131155d329eb8e06ae962e27cbba032 (patch) | |
| tree | 70c07e260d0bf280b7526192db5f9d0ccc113ead /tools/perf/scripts/python/sctop.py | |
| parent | PM / devfreq: Replace strncpy with strscpy (diff) | |
| download | kernel-48bbf6375131155d329eb8e06ae962e27cbba032.tar.gz kernel-48bbf6375131155d329eb8e06ae962e27cbba032.zip | |
PM / devfreq: imx-bus: Fix inconsistent IS_ERR and PTR_ERR
Fix inconsistent IS_ERR and PTR_ERR in imx_bus_init_icc().
The proper pointer to be passed as argument to PTR_ERR() is
priv->icc_pdev.
This bug was detected with the help of Coccinelle.
Fixes: 16c1d2f1b0bd ("PM / devfreq: imx: Register interconnect device")
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: Dong Aisheng <[email protected]>
[cw00.choi: Edit the patch title from 'imx' to 'imx-bus']
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
