diff options
author | 2013-07-24 14:34:08 +0900 | |
---|---|---|
committer | 2013-07-24 09:51:18 -0700 | |
commit | 932ef3685f287799fa844862d607a6b596ba5b9e (patch) | |
tree | b2ed564b9fbf3bfd84579dc94d88761a201c7372 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: android: logger: Correct write offset reset on error (diff) | |
download | wireguard-linux-932ef3685f287799fa844862d607a6b596ba5b9e.tar.xz wireguard-linux-932ef3685f287799fa844862d607a6b596ba5b9e.zip |
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 <jg1.han@samsung.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions