diff options
author | Nathan Chancellor | 2022-05-24 07:56:55 -0700 |
---|---|---|
committer | Jakub Kicinski | 2022-05-24 11:20:01 -0700 |
commit | 48a75b979940f8aa838143e976455aa0e629e638 (patch) | |
tree | 42e8dce4ab05c59add362d39641854e65c10149b /net/smc | |
parent | 677fb7525331375ba2f90f4bc94a80b9b6e697a3 (diff) |
ath6kl: Use cc-disable-warning to disable -Wdangling-pointer
Clang does not support this option so the build fails:
error: unknown warning option '-Wno-dangling-pointer' [-Werror,-Wunknown-warning-option]
Use cc-disable-warning so that the option is only added when it is
supported.
Fixes: bd1d129daa3e ("wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12")
Reported-by: "kernelci.org bot" <bot@kernelci.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220524145655.869822-1-nathan@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions