diff options
author | 2018-12-21 11:35:35 +0100 | |
---|---|---|
committer | 2019-01-07 18:31:14 +0000 | |
commit | 983f6ae944c273c3a64e30f451b60d40398afc8a (patch) | |
tree | 6644ff1ccb855a5cc54bbb55db38cbca14bd85d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: stm32: add description about STM32F4 bindings (diff) | |
download | wireguard-linux-983f6ae944c273c3a64e30f451b60d40398afc8a.tar.xz wireguard-linux-983f6ae944c273c3a64e30f451b60d40398afc8a.zip |
spi/trace: drop useless and wrong (but harmless) casts
bus_num, chip_select and len are already ints, so there is no gain in
casting them to int. xfer is a pointer to a struct spi_transfer. Casting
that to struct spi_message * is wrong but as only the pointer value is
used for the %p format specifier no harm is done.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions