aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch
diff options
context:
space:
mode:
authorJassi Brar <jaswinder.singh@linaro.org>2015-11-04 08:57:22 +0530
committerJassi Brar <jaswinder.singh@linaro.org>2015-11-04 14:03:04 +0530
commitcb1ca0b3bb6681310e7fe9d29d6d4c76dd71801d (patch)
treeeefd6ab1f5a83007595753013d63d7085c0bc29d /arch
parentmailbox: Off by one in mbox_test_message_read() (diff)
downloadwireguard-linux-cb1ca0b3bb6681310e7fe9d29d6d4c76dd71801d.tar.xz
wireguard-linux-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 <lee.jones@linaro.org> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions