• Luis R. Rodriguez's avatar
    ath5k: avoid sparse warnings on tracing · 76ff9a61
    Luis R. Rodriguez authored
    Just skip the sparse checks on tracing.
    
      CHECK   drivers/net/wireless/ath/ath5k/base.c
    include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:19:1: error: incompatible types for operation (<)
    include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:19:1:    left side has type struct ath5k_hw *<noident>
    include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:19:1:    right side has type int
    include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:37:1: error: incompatible types for operation (<)
    include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:37:1:    left side has type struct ath5k_hw *<noident>
    include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:37:1:    right side has type int
    include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:63:1: error: incompatible types for operation (<)
    include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:63:1:    left side has type struct ath5k_hw *<noident>
    include/trace/../../drivers/net/wireless/ath/ath5k/trace.h:63:1:    right side has type int
    /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
    /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
    /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
    /home/mcgrof/wireless-testing/arch/x86/include/asm/jump_label.h:16:9: error: bad asm output
      CC [M]  drivers/net/wireless/ath/ath5k/base.o
    Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    76ff9a61
trace.h 2.39 KB