[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201711141618.gVP9jaXh%fengguang.wu@intel.com>
Date: Tue, 14 Nov 2017 17:22:53 +0800
From: kbuild test robot <lkp@...el.com>
To: Larry Finger <Larry.Finger@...inger.net>
Cc: kbuild-all@...org, Marcel Holtmann <marcel@...tmann.org>,
Gustavo Padovan <gustavo@...ovan.org>,
Johan Hedberg <johan.hedberg@...il.com>,
linux-kernel@...r.kernel.org, linux-bluetooth@...r.kernel.org,
Larry Finger <Larry.Finger@...inger.net>,
Hon Weng Chong <honwchong@...il.com>
Subject: Re: [PATCH] bluetooth: btusb: Add device ID for RTL8822BE
Hi Larry,
I love your patch! Perhaps something to improve:
[auto build test WARNING on bluetooth-next/master]
[also build test WARNING on v4.14 next-20171114]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Larry-Finger/bluetooth-btusb-Add-device-ID-for-RTL8822BE/20171114-152910
base: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa
All warnings (new ones prefixed by >>):
>> drivers/bluetooth/btusb.c:373:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
{ USB_DEVICE(0x0b05, 0x1185c), .driver_info = BTUSB_REALTEK },
^
vim +373 drivers/bluetooth/btusb.c
181
182 static const struct usb_device_id blacklist_table[] = {
183 /* CSR BlueCore devices */
184 { USB_DEVICE(0x0a12, 0x0001), .driver_info = BTUSB_CSR },
185
186 /* Broadcom BCM2033 without firmware */
187 { USB_DEVICE(0x0a5c, 0x2033), .driver_info = BTUSB_IGNORE },
188
189 /* Broadcom BCM2045 devices */
190 { USB_DEVICE(0x0a5c, 0x2045), .driver_info = BTUSB_BCM2045 },
191
192 /* Atheros 3011 with sflash firmware */
193 { USB_DEVICE(0x0489, 0xe027), .driver_info = BTUSB_IGNORE },
194 { USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE },
195 { USB_DEVICE(0x04f2, 0xaff1), .driver_info = BTUSB_IGNORE },
196 { USB_DEVICE(0x0930, 0x0215), .driver_info = BTUSB_IGNORE },
197 { USB_DEVICE(0x0cf3, 0x3002), .driver_info = BTUSB_IGNORE },
198 { USB_DEVICE(0x0cf3, 0xe019), .driver_info = BTUSB_IGNORE },
199 { USB_DEVICE(0x13d3, 0x3304), .driver_info = BTUSB_IGNORE },
200
201 /* Atheros AR9285 Malbec with sflash firmware */
202 { USB_DEVICE(0x03f0, 0x311d), .driver_info = BTUSB_IGNORE },
203
204 /* Atheros 3012 with sflash firmware */
205 { USB_DEVICE(0x0489, 0xe04d), .driver_info = BTUSB_ATH3012 },
206 { USB_DEVICE(0x0489, 0xe04e), .driver_info = BTUSB_ATH3012 },
207 { USB_DEVICE(0x0489, 0xe056), .driver_info = BTUSB_ATH3012 },
208 { USB_DEVICE(0x0489, 0xe057), .driver_info = BTUSB_ATH3012 },
209 { USB_DEVICE(0x0489, 0xe05f), .driver_info = BTUSB_ATH3012 },
210 { USB_DEVICE(0x0489, 0xe076), .driver_info = BTUSB_ATH3012 },
211 { USB_DEVICE(0x0489, 0xe078), .driver_info = BTUSB_ATH3012 },
212 { USB_DEVICE(0x0489, 0xe095), .driver_info = BTUSB_ATH3012 },
213 { USB_DEVICE(0x04c5, 0x1330), .driver_info = BTUSB_ATH3012 },
214 { USB_DEVICE(0x04ca, 0x3004), .driver_info = BTUSB_ATH3012 },
215 { USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 },
216 { USB_DEVICE(0x04ca, 0x3006), .driver_info = BTUSB_ATH3012 },
217 { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
218 { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
219 { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
220 { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
221 { USB_DEVICE(0x04ca, 0x300f), .driver_info = BTUSB_ATH3012 },
222 { USB_DEVICE(0x04ca, 0x3010), .driver_info = BTUSB_ATH3012 },
223 { USB_DEVICE(0x04ca, 0x3014), .driver_info = BTUSB_ATH3012 },
224 { USB_DEVICE(0x04ca, 0x3018), .driver_info = BTUSB_ATH3012 },
225 { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
226 { USB_DEVICE(0x0930, 0x021c), .driver_info = BTUSB_ATH3012 },
227 { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
228 { USB_DEVICE(0x0930, 0x0227), .driver_info = BTUSB_ATH3012 },
229 { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
230 { USB_DEVICE(0x0cf3, 0x0036), .driver_info = BTUSB_ATH3012 },
231 { USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 },
232 { USB_DEVICE(0x0cf3, 0x3008), .driver_info = BTUSB_ATH3012 },
233 { USB_DEVICE(0x0cf3, 0x311d), .driver_info = BTUSB_ATH3012 },
234 { USB_DEVICE(0x0cf3, 0x311e), .driver_info = BTUSB_ATH3012 },
235 { USB_DEVICE(0x0cf3, 0x311f), .driver_info = BTUSB_ATH3012 },
236 { USB_DEVICE(0x0cf3, 0x3121), .driver_info = BTUSB_ATH3012 },
237 { USB_DEVICE(0x0cf3, 0x817a), .driver_info = BTUSB_ATH3012 },
238 { USB_DEVICE(0x0cf3, 0x817b), .driver_info = BTUSB_ATH3012 },
239 { USB_DEVICE(0x0cf3, 0xe003), .driver_info = BTUSB_ATH3012 },
240 { USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 },
241 { USB_DEVICE(0x0cf3, 0xe005), .driver_info = BTUSB_ATH3012 },
242 { USB_DEVICE(0x0cf3, 0xe006), .driver_info = BTUSB_ATH3012 },
243 { USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 },
244 { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
245 { USB_DEVICE(0x13d3, 0x3393), .driver_info = BTUSB_ATH3012 },
246 { USB_DEVICE(0x13d3, 0x3395), .driver_info = BTUSB_ATH3012 },
247 { USB_DEVICE(0x13d3, 0x3402), .driver_info = BTUSB_ATH3012 },
248 { USB_DEVICE(0x13d3, 0x3408), .driver_info = BTUSB_ATH3012 },
249 { USB_DEVICE(0x13d3, 0x3423), .driver_info = BTUSB_ATH3012 },
250 { USB_DEVICE(0x13d3, 0x3432), .driver_info = BTUSB_ATH3012 },
251 { USB_DEVICE(0x13d3, 0x3472), .driver_info = BTUSB_ATH3012 },
252 { USB_DEVICE(0x13d3, 0x3474), .driver_info = BTUSB_ATH3012 },
253 { USB_DEVICE(0x13d3, 0x3487), .driver_info = BTUSB_ATH3012 },
254 { USB_DEVICE(0x13d3, 0x3490), .driver_info = BTUSB_ATH3012 },
255
256 /* Atheros AR5BBU12 with sflash firmware */
257 { USB_DEVICE(0x0489, 0xe02c), .driver_info = BTUSB_IGNORE },
258
259 /* Atheros AR5BBU12 with sflash firmware */
260 { USB_DEVICE(0x0489, 0xe036), .driver_info = BTUSB_ATH3012 },
261 { USB_DEVICE(0x0489, 0xe03c), .driver_info = BTUSB_ATH3012 },
262
263 /* QCA ROME chipset */
264 { USB_DEVICE(0x0cf3, 0xe007), .driver_info = BTUSB_QCA_ROME },
265 { USB_DEVICE(0x0cf3, 0xe009), .driver_info = BTUSB_QCA_ROME },
266 { USB_DEVICE(0x0cf3, 0xe300), .driver_info = BTUSB_QCA_ROME },
267 { USB_DEVICE(0x0cf3, 0xe301), .driver_info = BTUSB_QCA_ROME },
268 { USB_DEVICE(0x0cf3, 0xe360), .driver_info = BTUSB_QCA_ROME },
269 { USB_DEVICE(0x0489, 0xe092), .driver_info = BTUSB_QCA_ROME },
270 { USB_DEVICE(0x0489, 0xe09f), .driver_info = BTUSB_QCA_ROME },
271 { USB_DEVICE(0x0489, 0xe0a2), .driver_info = BTUSB_QCA_ROME },
272 { USB_DEVICE(0x04ca, 0x3011), .driver_info = BTUSB_QCA_ROME },
273 { USB_DEVICE(0x04ca, 0x3016), .driver_info = BTUSB_QCA_ROME },
274
275 /* Broadcom BCM2035 */
276 { USB_DEVICE(0x0a5c, 0x2009), .driver_info = BTUSB_BCM92035 },
277 { USB_DEVICE(0x0a5c, 0x200a), .driver_info = BTUSB_WRONG_SCO_MTU },
278 { USB_DEVICE(0x0a5c, 0x2035), .driver_info = BTUSB_WRONG_SCO_MTU },
279
280 /* Broadcom BCM2045 */
281 { USB_DEVICE(0x0a5c, 0x2039), .driver_info = BTUSB_WRONG_SCO_MTU },
282 { USB_DEVICE(0x0a5c, 0x2101), .driver_info = BTUSB_WRONG_SCO_MTU },
283
284 /* IBM/Lenovo ThinkPad with Broadcom chip */
285 { USB_DEVICE(0x0a5c, 0x201e), .driver_info = BTUSB_WRONG_SCO_MTU },
286 { USB_DEVICE(0x0a5c, 0x2110), .driver_info = BTUSB_WRONG_SCO_MTU },
287
288 /* HP laptop with Broadcom chip */
289 { USB_DEVICE(0x03f0, 0x171d), .driver_info = BTUSB_WRONG_SCO_MTU },
290
291 /* Dell laptop with Broadcom chip */
292 { USB_DEVICE(0x413c, 0x8126), .driver_info = BTUSB_WRONG_SCO_MTU },
293
294 /* Dell Wireless 370 and 410 devices */
295 { USB_DEVICE(0x413c, 0x8152), .driver_info = BTUSB_WRONG_SCO_MTU },
296 { USB_DEVICE(0x413c, 0x8156), .driver_info = BTUSB_WRONG_SCO_MTU },
297
298 /* Belkin F8T012 and F8T013 devices */
299 { USB_DEVICE(0x050d, 0x0012), .driver_info = BTUSB_WRONG_SCO_MTU },
300 { USB_DEVICE(0x050d, 0x0013), .driver_info = BTUSB_WRONG_SCO_MTU },
301
302 /* Asus WL-BTD202 device */
303 { USB_DEVICE(0x0b05, 0x1715), .driver_info = BTUSB_WRONG_SCO_MTU },
304
305 /* Kensington Bluetooth USB adapter */
306 { USB_DEVICE(0x047d, 0x105e), .driver_info = BTUSB_WRONG_SCO_MTU },
307
308 /* RTX Telecom based adapters with buggy SCO support */
309 { USB_DEVICE(0x0400, 0x0807), .driver_info = BTUSB_BROKEN_ISOC },
310 { USB_DEVICE(0x0400, 0x080a), .driver_info = BTUSB_BROKEN_ISOC },
311
312 /* CONWISE Technology based adapters with buggy SCO support */
313 { USB_DEVICE(0x0e5e, 0x6622),
314 .driver_info = BTUSB_BROKEN_ISOC | BTUSB_CW6622},
315
316 /* Roper Class 1 Bluetooth Dongle (Silicon Wave based) */
317 { USB_DEVICE(0x1310, 0x0001), .driver_info = BTUSB_SWAVE },
318
319 /* Digianswer devices */
320 { USB_DEVICE(0x08fd, 0x0001), .driver_info = BTUSB_DIGIANSWER },
321 { USB_DEVICE(0x08fd, 0x0002), .driver_info = BTUSB_IGNORE },
322
323 /* CSR BlueCore Bluetooth Sniffer */
324 { USB_DEVICE(0x0a12, 0x0002),
325 .driver_info = BTUSB_SNIFFER | BTUSB_BROKEN_ISOC },
326
327 /* Frontline ComProbe Bluetooth Sniffer */
328 { USB_DEVICE(0x16d3, 0x0002),
329 .driver_info = BTUSB_SNIFFER | BTUSB_BROKEN_ISOC },
330
331 /* Marvell Bluetooth devices */
332 { USB_DEVICE(0x1286, 0x2044), .driver_info = BTUSB_MARVELL },
333 { USB_DEVICE(0x1286, 0x2046), .driver_info = BTUSB_MARVELL },
334 { USB_DEVICE(0x1286, 0x204e), .driver_info = BTUSB_MARVELL },
335
336 /* Intel Bluetooth devices */
337 { USB_DEVICE(0x8087, 0x0025), .driver_info = BTUSB_INTEL_NEW },
338 { USB_DEVICE(0x8087, 0x07da), .driver_info = BTUSB_CSR },
339 { USB_DEVICE(0x8087, 0x07dc), .driver_info = BTUSB_INTEL },
340 { USB_DEVICE(0x8087, 0x0a2a), .driver_info = BTUSB_INTEL },
341 { USB_DEVICE(0x8087, 0x0a2b), .driver_info = BTUSB_INTEL_NEW },
342 { USB_DEVICE(0x8087, 0x0aa7), .driver_info = BTUSB_INTEL },
343 { USB_DEVICE(0x8087, 0x0aaa), .driver_info = BTUSB_INTEL_NEW },
344
345 /* Other Intel Bluetooth devices */
346 { USB_VENDOR_AND_INTERFACE_INFO(0x8087, 0xe0, 0x01, 0x01),
347 .driver_info = BTUSB_IGNORE },
348
349 /* Realtek Bluetooth devices */
350 { USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01),
351 .driver_info = BTUSB_REALTEK },
352
353 /* Additional Realtek 8723AE Bluetooth devices */
354 { USB_DEVICE(0x0930, 0x021d), .driver_info = BTUSB_REALTEK },
355 { USB_DEVICE(0x13d3, 0x3394), .driver_info = BTUSB_REALTEK },
356
357 /* Additional Realtek 8723BE Bluetooth devices */
358 { USB_DEVICE(0x0489, 0xe085), .driver_info = BTUSB_REALTEK },
359 { USB_DEVICE(0x0489, 0xe08b), .driver_info = BTUSB_REALTEK },
360 { USB_DEVICE(0x13d3, 0x3410), .driver_info = BTUSB_REALTEK },
361 { USB_DEVICE(0x13d3, 0x3416), .driver_info = BTUSB_REALTEK },
362 { USB_DEVICE(0x13d3, 0x3459), .driver_info = BTUSB_REALTEK },
363 { USB_DEVICE(0x13d3, 0x3494), .driver_info = BTUSB_REALTEK },
364
365 /* Additional Realtek 8821AE Bluetooth devices */
366 { USB_DEVICE(0x0b05, 0x17dc), .driver_info = BTUSB_REALTEK },
367 { USB_DEVICE(0x13d3, 0x3414), .driver_info = BTUSB_REALTEK },
368 { USB_DEVICE(0x13d3, 0x3458), .driver_info = BTUSB_REALTEK },
369 { USB_DEVICE(0x13d3, 0x3461), .driver_info = BTUSB_REALTEK },
370 { USB_DEVICE(0x13d3, 0x3462), .driver_info = BTUSB_REALTEK },
371
372 /* Additional Realtek 8822BE Bluetooth devices */
> 373 { USB_DEVICE(0x0b05, 0x1185c), .driver_info = BTUSB_REALTEK },
374
375 /* Silicon Wave based devices */
376 { USB_DEVICE(0x0c10, 0x0000), .driver_info = BTUSB_SWAVE },
377
378 { } /* Terminating entry */
379 };
380
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (51688 bytes)
Powered by blists - more mailing lists