diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-05-17 15:43:56 +0200 |
|---|---|---|
| committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-05-24 10:19:24 +0200 |
| commit | 76394a36efb2dcd1ea30607a3831f65272694a62 (patch) | |
| tree | 274ce46db7cec19c1a4658284e6c29a7844803eb /tools/perf/scripts/python | |
| parent | clk: renesas: r8a7795: Correct pwm, gpio, and i2c parent clocks on ES2.0 (diff) | |
| download | linux-76394a36efb2dcd1ea30607a3831f65272694a62.tar.gz linux-76394a36efb2dcd1ea30607a3831f65272694a62.zip | |
clk: renesas: cpg-mssr: Initialize error pointer using ERR_PTR()
Coccinelle warns:
drivers/clk/renesas/renesas-cpg-mssr.c:323:14-21: ERROR: PTR_ERR applied after initialization to constant on line 260
Initialize clk using ERR_PTR(-ENOTSUPP) instead of NULL to fix this.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
