diff options
| author | Tobin C. Harding <me@tobin.cc> | 2017-03-22 11:59:53 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-23 14:27:23 +0100 |
| commit | b5ca039ac17594e870a12c68ca8847700aa300dd (patch) | |
| tree | 077732d29520aa6679fc55d2aff4dddc504ef8d8 /tools/perf/scripts/python | |
| parent | staging: ks7010: fix memcmp() bug (diff) | |
| download | linux-b5ca039ac17594e870a12c68ca8847700aa300dd.tar.gz linux-b5ca039ac17594e870a12c68ca8847700aa300dd.zip | |
staging: ks7010: add explicit check to memcmp() calls
Calls to functions memcmp() and strcmp() are more clearly readable
when the return value is explicitly checked. i.e
if (memcmp(foo, bar, size) == 0)
Modify driver to use an explicit check on the value returned by
memcmp().
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
