Repository navigation
Commit 5aec598
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>1 parent 71df3fd commit 5aec598
1 file changed
Lines changed: 4 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1260 | 1260 | | |
1261 | 1261 | | |
1262 | 1262 | | |
1263 | | - | |
1264 | | - | |
1265 | | - | |
1266 | | - | |
1267 | | - | |
1268 | | - | |
1269 | | - | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
1273 | | - | |
1274 | 1263 | | |
1275 | 1264 | | |
1276 | 1265 | | |
| |||
1410 | 1399 | | |
1411 | 1400 | | |
1412 | 1401 | | |
1413 | | - | |
| 1402 | + | |
1414 | 1403 | | |
1415 | | - | |
1416 | 1404 | | |
1417 | 1405 | | |
1418 | | - | |
1419 | | - | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
1420 | 1409 | | |
1421 | 1410 | | |
1422 | 1411 | | |
| |||
0 commit comments