aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2018-07-12 17:10:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-12 16:23:19 +0200
commit5151e2b578e92f88d676ad78d36a2ef93d0a0dea (patch)
tree4eae9d2c2162fa6d91216d528e3d9b28c35260a1 /include/linux/fpga/fpga-mgr.h
parentmei: use correct type for counter variable in for loops (diff)
downloadlinux-dev-5151e2b578e92f88d676ad78d36a2ef93d0a0dea.tar.xz
linux-dev-5151e2b578e92f88d676ad78d36a2ef93d0a0dea.zip
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 <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions