* [ath6kl:ath11k-qca6390-bringup 48/63] drivers/net/wireless/ath/ath11k/dp.c:124:5: warning: no previous prototype for 'ath11k_dp_srng_calculate_msi_group'
@ 2020-05-28 3:25 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-28 3:25 UTC (permalink / raw)
To: Carl Huang; +Cc: kbuild-all, ath10k, Kalle Valo
[-- Attachment #1: Type: text/plain, Size: 3193 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath11k-qca6390-bringup
head: 7f2aca90d49b9d6d85a7d712421e1d02ce4bba2f
commit: f2748890bfc292723a15221b8c7b40f50d6d9b76 [48/63] ath11k: enable DP interrupt setup for QCA6390
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout f2748890bfc292723a15221b8c7b40f50d6d9b76
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/net/wireless/ath/ath11k/dp.c:124:5: warning: no previous prototype for 'ath11k_dp_srng_calculate_msi_group' [-Wmissing-prototypes]
124 | int ath11k_dp_srng_calculate_msi_group(struct ath11k_base *ab,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/ath11k_dp_srng_calculate_msi_group +124 drivers/net/wireless/ath/ath11k/dp.c
123
> 124 int ath11k_dp_srng_calculate_msi_group(struct ath11k_base *ab,
125 enum hal_ring_type type, int ring_num)
126 {
127 const u8 *grp_mask;
128
129 switch (type) {
130 case HAL_WBM2SW_RELEASE:
131 if (ring_num < 3) {
132 grp_mask = &ab->ring_mask.tx_ring_mask[0];
133 }
134 else if (ring_num == 3) {
135 grp_mask = &ab->ring_mask.rx_wbm_rel_ring_mask[0];
136 ring_num = 0;
137 } else {
138 return -ENOENT;
139 }
140 break;
141
142 case HAL_REO_EXCEPTION:
143 grp_mask = &ab->ring_mask.rx_err_ring_mask[0];
144 break;
145
146 case HAL_REO_DST:
147 grp_mask = &ab->ring_mask.rx_ring_mask[0];
148 break;
149
150 case HAL_REO_STATUS:
151 grp_mask = &ab->ring_mask.reo_status_ring_mask[0];
152 break;
153
154 case HAL_RXDMA_MONITOR_STATUS:
155 case HAL_RXDMA_MONITOR_DST:
156 grp_mask = &ab->ring_mask.rx_mon_status_ring_mask[0];
157 break;
158
159 case HAL_RXDMA_DST:
160 grp_mask = &ab->ring_mask.rxdma2host_ring_mask[0];
161 break;
162
163 case HAL_RXDMA_BUF:
164 grp_mask = &ab->ring_mask.host2rxdma_ring_mask[0];
165 break;
166
167 case HAL_RXDMA_MONITOR_BUF:
168 return -ENOENT;
169 break;
170
171 case HAL_TCL_DATA:
172 case HAL_TCL_CMD:
173 case HAL_REO_CMD:
174 case HAL_SW2WBM_RELEASE:
175 case HAL_WBM_IDLE_LINK:
176 return -ENOENT;
177 break;
178
179 case HAL_TCL_STATUS:
180 case HAL_REO_REINJECT:
181 return -ENOENT;
182 break;
183
184 case HAL_CE_SRC:
185 case HAL_CE_DST:
186 case HAL_CE_DST_STATUS:
187 default:
188 return -ENOENT;
189 break;
190 }
191
192 return ath11k_dp_srng_find_ring_in_mask(ring_num, grp_mask);
193 }
194
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 57860 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] only message in thread
only message in thread, other threads:[~2020-05-28 3:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28 3:25 [ath6kl:ath11k-qca6390-bringup 48/63] drivers/net/wireless/ath/ath11k/dp.c:124:5: warning: no previous prototype for 'ath11k_dp_srng_calculate_msi_group' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).