diff options
author | 2021-04-05 13:49:45 +0200 | |
---|---|---|
committer | 2021-04-13 10:15:44 +0200 | |
commit | 0a7d6cdf90c0f10fd62b1b2d80fbaeb7e0172c13 (patch) | |
tree | e2368d16bc2babcbf2d7d96b7986d889e5189ed2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | can: peak_usb: pcan_usb_get_serial(): remove error message from error path (diff) | |
download | wireguard-linux-0a7d6cdf90c0f10fd62b1b2d80fbaeb7e0172c13.tar.xz wireguard-linux-0a7d6cdf90c0f10fd62b1b2d80fbaeb7e0172c13.zip |
can: peak_usb: pcan_usb_get_serial(): make use of le32_to_cpup()
This patch replaces the memcpy() + le32_to_cpu() by le32_to_cpup().
Link: https://lore.kernel.org/r/20210406111622.1874957-9-mkl@pengutronix.de
Acked-by: Stephane Grosjean <s.grosjean@peak-system.com>
Tested-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions