diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2020-10-26 22:29:49 +0100 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2020-11-07 13:37:03 +0200 |
| commit | 9fdd02aa59886300b60e1cc0a4af3653796d9bd8 (patch) | |
| tree | ee78c4455c43d48f2fb8d4425084db1b5d4a6bdf /tools/perf/scripts/python/netdev-times.py | |
| parent | 3287953b03994870c249ec57f55967cd1f7afbb8 (diff) | |
| download | linux-9fdd02aa59886300b60e1cc0a4af3653796d9bd8.tar.gz linux-9fdd02aa59886300b60e1cc0a4af3653796d9bd8.zip | |
net: hostap: fix function cast warning
gcc -Wextra complains about the function type cast:
drivers/net/wireless/intersil/hostap/hostap_hw.c:3173:48: warning: cast between incompatible function types from ‘void (*)(struct tasklet_struct *)’ to ‘void (*)(long unsigned int)’ [-Wcast-function-type]
Avoid this by just using the regular tasklet_setup() function instead
of the incorrect homegrown version.
Fixes: 7433c9690318 ("intersil: convert tasklets to use new tasklet_setup() API")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201026213040.3889546-2-arnd@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
