diff options
author | Amitoj Kaur Chawla <[email protected]> | 2016-08-12 08:36:54 +0530 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2016-09-13 14:13:26 +0200 |
commit | e3b23148fd8af277fd55068183ed3ce4c8f51aa5 (patch) | |
tree | 0a2ea6dbe717d0911e7366d3b286ce3cb6399828 /scripts/gdb/linux/lists.py | |
parent | 9395452b4aab7bc2475ef8935b4a4fb99d778d70 (diff) |
MIPS: ath79: Fix test for error return of clk_register_fixed_factor().
clk_register_fixed_factor returns an ERR_PTR in case of an error and
should have an IS_ERR check instead of a null check.
The Coccinelle semantic patch used to find this issue is as follows:
@@
expression e;
statement S;
@@
*e = clk_register_fixed_factor(...);
if (!e) S
Signed-off-by: Amitoj Kaur Chawla <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13894/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions