aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2021-11-23 07:30:38 -0500
committerIlya Dryomov <[email protected]>2021-12-01 17:08:26 +0100
commite485d028bb1075d6167558b47f63e10713ad2034 (patch)
tree3bfbdc354c549b6ccdb60eab49ce3092481a063e /include/linux/fpga
parent973e5245637accc4002843f6b888495a6a7762bc (diff)
ceph: initialize i_size variable in ceph_sync_read
Newer compilers seem to determine that this variable being uninitialized isn't a problem, but older compilers (from the RHEL8 era) seem to choke on it and complain that it could be used uninitialized. Go ahead and initialize the variable at declaration time to silence potential compiler warnings. Fixes: c3d8e0b5de48 ("ceph: return the real size read when it hits EOF") Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Xiubo Li <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'include/linux/fpga')
0 files changed, 0 insertions, 0 deletions