diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-10-31 22:51:14 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-11-13 14:11:58 +0300 |
commit | ec1dff25b0a012711e10290039fbc8e1c5dd69fb (patch) | |
tree | abca7c73855fab6da300941d334dee88c2be5667 /net/ceph | |
parent | 81302565178cfa2d419f5e9743add02997c6b2dc (diff) | |
download | linux-ec1dff25b0a012711e10290039fbc8e1c5dd69fb.tar.xz |
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 'net/ceph')
0 files changed, 0 insertions, 0 deletions