]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c276c8e78ddd9e1e8a361d6669f7c7826d14085
treeabc895d4aa78e68ae811826cdcc5f2eb3c3bca97
parenta6b18949be5a1ce976c4c7ba994881f88df4e33e
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