diff options
author | Arnd Bergmann <[email protected]> | 2020-10-26 22:29:56 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2020-11-07 10:08:33 +0200 |
commit | ce54bf5e9554073d41eac3b2832cf3144f891d32 (patch) | |
tree | 795f053eb2db391b2ae5085ab3232e43a7a101bd /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | cd64cae3efd42340b274ccaf42588cca3be6a246 (diff) |
ath6kl: fix enum-conversion warning
gcc -Wextra points out a type mismatch
drivers/net/wireless/ath/ath6kl/wmi.c: In function 'ath6kl_wmi_cmd_send':
drivers/net/wireless/ath/ath6kl/wmi.c:1825:19: warning: implicit conversion from 'enum <anonymous>' to 'enum wmi_data_hdr_data_type' [-Wenum-conversion]
1825 | false, false, 0, NULL, if_idx);
| ^~~~~
As far as I can tell, the numeric value is current here,
so just use the correct enum literal instead of 'false'.
Fixes: bdcd81707973 ("Add ath6kl cleaned up driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions