Search Linux Wireless

Re: [PATCH 00/21] make spectral code common for both ath9k drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 12.11.2014 um 01:10 schrieb Sujith Manoharan:
> Oleksij Rempel wrote:
>> - makes spectral scan code common for both ath9k and ath9k_htc.
>> - add spectral scan support to ath9k_htc.
> 
> This has been merged, but I am getting a build error.
> 
> ../drivers/net/wireless/ath/ath9k/common-spectral.c:40:5: error: redefinition of ‘ath_cmn_process_fft’
>  int ath_cmn_process_fft(struct ath_spec_scan_priv *spec_priv, struct ieee80211_hdr *hdr,
>      ^
> In file included from ../drivers/net/wireless/ath/ath9k/common.h:27:0,
>                  from ../drivers/net/wireless/ath/ath9k/ath9k.h:27,
>                  from ../drivers/net/wireless/ath/ath9k/common-spectral.c:18:
> ../drivers/net/wireless/ath/ath9k/common-spectral.h:146:19: note: previous definition of ‘ath_cmn_process_fft’ was here
>  static inline int ath_cmn_process_fft(struct ath_spec_scan_priv *spec_priv,
>                    ^
> ../scripts/Makefile.build:257: recipe for target 'drivers/net/wireless/ath/ath9k/common-spectral.o' failed
> make[10]: *** [drivers/net/wireless/ath/ath9k/common-spectral.o] Error 1
> make[10]: *** Waiting for unfinished jobs....
>   CC [M]  drivers/target/iscsi/iscsi_target_erl0.o
>   CC      drivers/thermal/thermal_core.o
> In file included from ../drivers/net/wireless/ath/ath9k/htc_hst.c:19:0:
> ../drivers/net/wireless/ath/ath9k/htc.h: In function ‘ath9k_htc_deinit_debug’:
> ../drivers/net/wireless/ath/ath9k/htc.h:632:74: warning: ‘return’ with a value, in function returning void
>  static inline void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv) { return 0; };
>                                                                           ^
> ../scripts/Makefile.build:402: recipe for target 'drivers/net/wireless/ath/ath9k' failed
> make[9]: *** [drivers/net/wireless/ath/ath9k] Error 2
> ../scripts/Makefile.build:402: recipe for target 'drivers/net/wireless/ath' failed
> make[8]: *** [drivers/net/wireless/ath] Error 2
> make[8]: *** Waiting for unfinished jobs....

Hi,

thank you for testing.
John already provided patch for this.

-- 
Regards,
Oleksij

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux