diff options
| author | Jingoo Han <[email protected]> | 2013-07-24 14:34:08 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-07-24 09:51:18 -0700 |
| commit | 932ef3685f287799fa844862d607a6b596ba5b9e (patch) | |
| tree | b2ed564b9fbf3bfd84579dc94d88761a201c7372 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | 72bb99cfe9c57d2044445fb34bbc95b4c0bae6f2 (diff) | |
staging: tidspbridge: replace strict_strtol() with kstrtos32()
The usage of strict_strtol() is not preferred, because
strict_strtol() is obsolete. Thus, kstrtos32() should be
used in order to convert a string to s32. Also, error handling
is added to get rid of a __must_check warning.
This fixes a memory corruption bug as well.
Signed-off-by: Jingoo Han <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions