Skip to content
Commit 47299f79 authored by Stefan Agner's avatar Stefan Agner Committed by J. Bruce Fields
Browse files

nfsd: use correct enum type in decode_cb_op_status



Use enum nfs_cb_opnum4 in decode_cb_op_status. This fixes warnings
seen with clang:
  fs/nfsd/nfs4callback.c:451:36: warning: implicit conversion from
      enumeration type 'enum nfs_cb_opnum4' to different enumeration
      type 'enum nfs_opnum4' [-Wenum-conversion]
        status = decode_cb_op_status(xdr, OP_CB_SEQUENCE, &cb->cb_seq_status);
                 ~~~~~~~~~~~~~~~~~~~      ^~~~~~~~~~~~~~

Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 51d87bc2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment