diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2015-12-19 14:14:54 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-25 12:01:17 -0800 |
| commit | f865d8c326dd50649d3ee3129b93e6abb6929fae (patch) | |
| tree | bcc9fdb5005c1273e28f83fe8087e33471552da4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e9b0f0e411d00b900a72891435c8997fb8eeb32b (diff) | |
iio-light: Use a signed return type for ltr501_match_samp_freq()
commit c08ae18560aaed50fed306a2e11f36ce70130f65 upstream.
The return type "unsigned int" was used by the ltr501_match_samp_freq()
function despite of the aspect that it will eventually return a negative
error code.
Improve this implementation detail by deletion of the type modifier then.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
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
