diff options
| author | Andrzej Hajda <[email protected]> | 2016-02-15 15:35:20 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2016-05-13 14:02:11 +0200 |
| commit | ba837d387195ea043900d2101cf90bcc083cff1b (patch) | |
| tree | deaef5fa61fd70abff8bdb739f5af2295d56ec64 /tools/perf/scripts/python/netdev-times.py | |
| parent | acd9e20cd9d0e6af5680e1870a966d8082a1130a (diff) | |
MIPS: module: fix incorrect IS_ERR_VALUE macro usages
IS_ERR_VALUE macro should be used only with unsigned long type.
Specifically it works incorrectly with longer types.
The patch follows conclusion from discussion on LKML [1][2].
[1]: http://permalink.gmane.org/gmane.linux.kernel/2120927
[2]: http://permalink.gmane.org/gmane.linux.kernel/2150581
[[email protected]: While it may not immediately be obvious, the type
of st_value in the end is an unsigned long equivalent so the invocation
of IS_ERR_VALUE() was valid but I'm applying the patch anyway for
clarity.]
Signed-off-by: Andrzej Hajda <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12553/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions