* [ath6kl:master-pending 3/3] drivers/net/wireless/ath/ath10k/qmi.c:734:44: error: not enough arguments for function ath10k_core_fetch_board_file
@ 2018-10-11 14:31 kbuild test robot
2018-10-12 14:28 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2018-10-11 14:31 UTC (permalink / raw)
To: Kalle Valo; +Cc: kbuild-all, ath10k
[-- Attachment #1: Type: text/plain, Size: 4340 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git master-pending
head: 0867465f6a7f45f857c8289a61a7f847829d3654
commit: 0867465f6a7f45f857c8289a61a7f847829d3654 [3/3] Merge branch 'pending' into master-pending
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 0867465f6a7f45f857c8289a61a7f847829d3654
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
>> drivers/net/wireless/ath/ath10k/qmi.c:734:44: error: not enough arguments for function ath10k_core_fetch_board_file
drivers/net/wireless/ath/ath10k/qmi.c: In function 'ath10k_qmi_fetch_board_file':
drivers/net/wireless/ath/ath10k/qmi.c:734:9: error: too few arguments to function 'ath10k_core_fetch_board_file'
return ath10k_core_fetch_board_file(qmi->ar);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/wireless/ath/ath10k/trace.h:21:0,
from drivers/net/wireless/ath/ath10k/debug.h:23,
from drivers/net/wireless/ath/ath10k/qmi.c:31:
drivers/net/wireless/ath/ath10k/core.h:1224:5: note: declared here
int ath10k_core_fetch_board_file(struct ath10k *ar, int bd_ie_type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath10k/qmi.c:735:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--
>> drivers/net/wireless/ath/ath10k/snoc.c:1191:17: error: undefined identifier 'bus_params'
drivers/net/wireless/ath/ath10k/snoc.c:1192:17: error: undefined identifier 'bus_params'
>> drivers/net/wireless/ath/ath10k/snoc.c:1192:38: error: undefined identifier 'drv_data'
drivers/net/wireless/ath/ath10k/snoc.c:1193:49: error: undefined identifier 'bus_params'
>> drivers/net/wireless/ath/ath10k/snoc.c:1192:46: warning: unknown expression (8 46)
drivers/net/wireless/ath/ath10k/snoc.c: In function 'ath10k_snoc_fw_indication':
drivers/net/wireless/ath/ath10k/snoc.c:1191:3: error: 'bus_params' undeclared (first use in this function); did you mean 'key_params'?
bus_params.dev_type = ATH10K_DEV_TYPE_LL;
^~~~~~~~~~
key_params
drivers/net/wireless/ath/ath10k/snoc.c:1191:3: note: each undeclared identifier is reported only once for each function it appears in
drivers/net/wireless/ath/ath10k/snoc.c:1192:24: error: 'drv_data' undeclared (first use in this function); did you mean 'irq_data'?
bus_params.chip_id = drv_data->hw_rev;
^~~~~~~~
irq_data
drivers/net/wireless/ath/ath10k/snoc.c:1186:22: warning: unused variable 'ar_snoc' [-Wunused-variable]
struct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);
^~~~~~~
drivers/net/wireless/ath/ath10k/snoc.c: In function 'ath10k_snoc_probe':
drivers/net/wireless/ath/ath10k/snoc.c:1536:27: warning: unused variable 'bus_params' [-Wunused-variable]
struct ath10k_bus_params bus_params;
^~~~~~~~~~
vim +734 drivers/net/wireless/ath/ath10k/qmi.c
5639a5d3 Govind Singh 2018-10-11 724
5639a5d3 Govind Singh 2018-10-11 725 static int ath10k_qmi_fetch_board_file(struct ath10k_qmi *qmi)
5639a5d3 Govind Singh 2018-10-11 726 {
5639a5d3 Govind Singh 2018-10-11 727 struct ath10k *ar = qmi->ar;
5639a5d3 Govind Singh 2018-10-11 728
5639a5d3 Govind Singh 2018-10-11 729 ar->hif.bus = ATH10K_BUS_SNOC;
5639a5d3 Govind Singh 2018-10-11 730 ar->id.qmi_ids_valid = true;
5639a5d3 Govind Singh 2018-10-11 731 ar->id.qmi_board_id = qmi->board_info.board_id;
5639a5d3 Govind Singh 2018-10-11 732 ar->hw_params.fw.dir = WCN3990_HW_1_0_FW_DIR;
5639a5d3 Govind Singh 2018-10-11 733
5639a5d3 Govind Singh 2018-10-11 @734 return ath10k_core_fetch_board_file(qmi->ar);
5639a5d3 Govind Singh 2018-10-11 735 }
5639a5d3 Govind Singh 2018-10-11 736
:::::: The code at line 734 was first introduced by commit
:::::: 5639a5d3cc242473d600a400dc41edcbb0b19092 ath10k: Add QMI message handshake for wcn3990 client
:::::: TO: Govind Singh <govinds@codeaurora.org>
:::::: CC: Kalle Valo <kvalo@codeaurora.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 65835 bytes --]
[-- Attachment #3: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [ath6kl:master-pending 3/3] drivers/net/wireless/ath/ath10k/qmi.c:734:44: error: not enough arguments for function ath10k_core_fetch_board_file
2018-10-11 14:31 [ath6kl:master-pending 3/3] drivers/net/wireless/ath/ath10k/qmi.c:734:44: error: not enough arguments for function ath10k_core_fetch_board_file kbuild test robot
@ 2018-10-12 14:28 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2018-10-12 14:28 UTC (permalink / raw)
To: kbuild test robot; +Cc: kbuild-all, ath10k
kbuild test robot <lkp@intel.com> writes:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git master-pending
> head: 0867465f6a7f45f857c8289a61a7f847829d3654
> commit: 0867465f6a7f45f857c8289a61a7f847829d3654 [3/3] Merge branch 'pending' into master-pending
> config: x86_64-allmodconfig (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> git checkout 0867465f6a7f45f857c8289a61a7f847829d3654
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All error/warnings (new ones prefixed by >>):
>
>>> drivers/net/wireless/ath/ath10k/qmi.c:734:44: error: not enough arguments for function ath10k_core_fetch_board_file
> drivers/net/wireless/ath/ath10k/qmi.c: In function 'ath10k_qmi_fetch_board_file':
> drivers/net/wireless/ath/ath10k/qmi.c:734:9: error: too few arguments to function 'ath10k_core_fetch_board_file'
> return ath10k_core_fetch_board_file(qmi->ar);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from drivers/net/wireless/ath/ath10k/trace.h:21:0,
> from drivers/net/wireless/ath/ath10k/debug.h:23,
> from drivers/net/wireless/ath/ath10k/qmi.c:31:
> drivers/net/wireless/ath/ath10k/core.h:1224:5: note: declared here
> int ath10k_core_fetch_board_file(struct ath10k *ar, int bd_ie_type);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/net/wireless/ath/ath10k/qmi.c:735:1: warning: control reaches end of non-void function [-Wreturn-type]
> }
> ^
> --
>>> drivers/net/wireless/ath/ath10k/snoc.c:1191:17: error: undefined identifier 'bus_params'
> drivers/net/wireless/ath/ath10k/snoc.c:1192:17: error: undefined identifier 'bus_params'
>>> drivers/net/wireless/ath/ath10k/snoc.c:1192:38: error: undefined identifier 'drv_data'
> drivers/net/wireless/ath/ath10k/snoc.c:1193:49: error: undefined identifier 'bus_params'
>>> drivers/net/wireless/ath/ath10k/snoc.c:1192:46: warning: unknown expression (8 46)
> drivers/net/wireless/ath/ath10k/snoc.c: In function 'ath10k_snoc_fw_indication':
> drivers/net/wireless/ath/ath10k/snoc.c:1191:3: error: 'bus_params' undeclared (first use in this function); did you mean 'key_params'?
> bus_params.dev_type = ATH10K_DEV_TYPE_LL;
> ^~~~~~~~~~
> key_params
> drivers/net/wireless/ath/ath10k/snoc.c:1191:3: note: each undeclared identifier is reported only once for each function it appears in
> drivers/net/wireless/ath/ath10k/snoc.c:1192:24: error: 'drv_data' undeclared (first use in this function); did you mean 'irq_data'?
> bus_params.chip_id = drv_data->hw_rev;
> ^~~~~~~~
> irq_data
> drivers/net/wireless/ath/ath10k/snoc.c:1186:22: warning: unused variable 'ar_snoc' [-Wunused-variable]
> struct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);
> ^~~~~~~
> drivers/net/wireless/ath/ath10k/snoc.c: In function 'ath10k_snoc_probe':
> drivers/net/wireless/ath/ath10k/snoc.c:1536:27: warning: unused variable 'bus_params' [-Wunused-variable]
> struct ath10k_bus_params bus_params;
> ^~~~~~~~~~
These errors are my mistakes. I introduced these when solving some
conflicts and not having COMPILE_TEST enabled so I didn't compile check
snoc.c. These should be fixed now in the pending branch.
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-12 14:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-11 14:31 [ath6kl:master-pending 3/3] drivers/net/wireless/ath/ath10k/qmi.c:734:44: error: not enough arguments for function ath10k_core_fetch_board_file kbuild test robot
2018-10-12 14:28 ` Kalle Valo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.