]> Git Repo - linux.git/commit
rbd: endian bug in rbd_req_cb()
authorDan Carpenter <[email protected]>
Wed, 6 Jun 2012 14:15:33 +0000 (09:15 -0500)
committerAlex Elder <[email protected]>
Wed, 6 Jun 2012 14:23:54 +0000 (09:23 -0500)
commit895cfcc810e53d7d36639969c71efb9087221167
tree4e97c3aaa7d77e12e187b8fb2eda3c115d9418fe
parentf9f9a1904467816452fc70740165030e84c2c659
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: Dan Carpenter <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
drivers/block/rbd.c
This page took 0.048943 seconds and 4 git commands to generate.