blktrace: fix endianness for blk_log_remap()
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 4 Jun 2020 07:13:30 +0000 (00:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jun 2020 03:23:38 +0000 (21:23 -0600)
commit5aec598c456fe3c1b71a1202cbb42bdc2a643277
treeabc895d4aa78e68ae811826cdcc5f2eb3c3bca97
parent71df3fd82e7cccec7b749a8607a4662d9f7febdd
blktrace: fix endianness for blk_log_remap()

The function blk_log_remap() can be simplified by removing the
call to get_pdu_remap() that copies the values into extra variable to
print the data, which also fixes the endiannness warning reported by
sparse.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/trace/blktrace.c