Files
linux/drivers/net/wireless/ath
Nathan Chancellor 48a75b9799 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: bd1d129daa ("wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12")
Reported-by: "kernelci.org bot" <[email protected]>
Signed-off-by: Nathan Chancellor <[email protected]>
Reviewed-by: Tom Rix <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2022-05-24 11:20:01 -07:00
..
…
…
2021-06-15 17:01:24 +03:00
…
…
…
…
…
…
…