Skip to content
Commit 6a3ca4f1 authored by Dan Carpenter's avatar Dan Carpenter Committed by Sage Weil
Browse files

rbd: endian bug in rbd_req_cb()



Sparse complains about this because:
drivers/block/rbd.c:996:20: warning: cast to restricted __le32
drivers/block/rbd.c:996:20: warning: cast from restricted __le16

These are set in osd_req_encode_op() and they are le16.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarAlex Elder <elder@inktank.com>
(cherry picked from commit 895cfcc8)
parent 236df375
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