diff options
| author | Tomas Winkler <[email protected]> | 2018-07-12 17:10:10 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-07-12 16:23:19 +0200 |
| commit | 5151e2b578e92f88d676ad78d36a2ef93d0a0dea (patch) | |
| tree | 4eae9d2c2162fa6d91216d528e3d9b28c35260a1 /tools/perf/scripts/python | |
| parent | 44c98df01851c0d5941b06c60d1bd092bac088c3 (diff) | |
mei: fix ssize_t to int assignment in read and write ops.
Use ssize_t for rets variables in mei_write(), mei_read(), and
mei_cl_write() as well as change the return type of mei_cl_write()
to ssize_t, to prevent assignment of possible 64bit size_t
to int 32 bit variable.
As by product also eliminate warning
drivers/misc/mei/client.c:1702:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Signed-off-by: Tomas Winkler <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions