diff options
| author | Elena Oat <oat.elena@gmail.com> | 2014-03-18 19:16:49 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-18 12:22:21 -0700 |
| commit | f12919d5c9540ae01ca42f480ccec0fd8c70a6ad (patch) | |
| tree | b9aeb48dca789a61a2bf21672aa1a700b2f92226 /tools/perf/scripts/python/netdev-times.py | |
| parent | 94b9c616e6dbdd49e178b9d94e097a5530064093 (diff) | |
Staging: rtl8188eu: Fix warning of unchecked sscanf return value.
This patch fixes the warning "unchecked sscanf return value" in file
rtw_mp.c. Zero is returned in case sscanf fails or if less than expected
items are read and assigned successfully. I have decided to return zero,
because in previous conditional statements zero was returned in case of
failure.
While at it, I have also fixed the warning of line over 80
characters.
Signed-off-by: Elena Oat <oat.elena@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
