aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorJassi Brar <[email protected]>2015-11-04 03:27:22 +0000
committerJassi Brar <[email protected]>2015-11-04 08:33:04 +0000
commitcb1ca0b3bb6681310e7fe9d29d6d4c76dd71801d (patch)
treeeefd6ab1f5a83007595753013d63d7085c0bc29d /lib/mpi/mpicoder.c
parentmailbox: Off by one in mbox_test_message_read() (diff)
downloadkernel-cb1ca0b3bb6681310e7fe9d29d6d4c76dd71801d.tar.gz
kernel-cb1ca0b3bb6681310e7fe9d29d6d4c76dd71801d.zip
mailbox: mailbox-test: avoid reading iomem twice
Don't pass mmio region as source to print_hex_dump() and then again to memcpy_fromio(). Do it once and give print_hex_dump() the buffer we just read the data in. Acked-by: Lee Jones <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions