diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-10-31 15:51:14 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-11-13 12:11:58 +0100 |
commit | ec1dff25b0a012711e10290039fbc8e1c5dd69fb (patch) | |
tree | abca7c73855fab6da300941d334dee88c2be5667 /fs/ceph/cache.h | |
parent | 81302565178cfa2d419f5e9743add02997c6b2dc (diff) | |
download | lwn-ec1dff25b0a012711e10290039fbc8e1c5dd69fb.tar.gz lwn-ec1dff25b0a012711e10290039fbc8e1c5dd69fb.zip |
ceph: silence sparse endianness warning in encode_caps_cb
sparse warns:
fs/ceph/mds_client.c:2887:34: warning: incorrect type in assignment (different base types)
fs/ceph/mds_client.c:2887:34: expected restricted __le32 [assigned] [usertype] flock_len
fs/ceph/mds_client.c:2887:34: got int
At this point, it's just being used as a flag. It gets
overwritten later if the rest of the encoding succeeds.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/cache.h')
0 files changed, 0 insertions, 0 deletions