Hi penghao,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v5.10-rc4 next-20201118]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/penghao/Changes-since-v1-Change-...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: x86_64-randconfig-a013-20201118 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
b2613fb2f0f53691dd0211895afbb9413457fca7)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://github.com/0day-ci/linux/commit/f3587e96a9e4faf16b800b261b5f72fd2...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
penghao/Changes-since-v1-Change-subject-form-ALSA-to-USB-Adjust-to-approoriate-line/20201118-150250
git checkout f3587e96a9e4faf16b800b261b5f72fd2991e811
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/usb/core/quirks.c:425:25: error: invalid suffix
'xa012' on integer constant
{ USB_DEVICE(0x17ef, 0x0xa012), .driver_info
=
^
1 error generated.
vim +/xa012 +425 drivers/usb/core/quirks.c
171
172 /* Lists of quirky USB devices, split in device quirks and interface quirks.
173 * Device quirks are applied at the very beginning of the enumeration process,
174 * right after reading the device descriptor. They can thus only match on device
175 * information.
176 *
177 * Interface quirks are applied after reading all the configuration descriptors.
178 * They can match on both device and interface information.
179 *
180 * Note that the DELAY_INIT and HONOR_BNUMINTERFACES quirks do not make sense as
181 * interface quirks, as they only influence the enumeration process which is run
182 * before processing the interface quirks.
183 *
184 * Please keep the lists ordered by:
185 * 1) Vendor ID
186 * 2) Product ID
187 * 3) Class ID
188 */
189 static const struct usb_device_id usb_quirk_list[] = {
190 /* CBM - Flash disk */
191 { USB_DEVICE(0x0204, 0x6025), .driver_info = USB_QUIRK_RESET_RESUME },
192
193 /* WORLDE Controller KS49 or Prodipe MIDI 49C USB controller */
194 { USB_DEVICE(0x0218, 0x0201), .driver_info =
195 USB_QUIRK_CONFIG_INTF_STRINGS },
196
197 /* WORLDE easy key (easykey.25) MIDI controller */
198 { USB_DEVICE(0x0218, 0x0401), .driver_info =
199 USB_QUIRK_CONFIG_INTF_STRINGS },
200
201 /* HP 5300/5370C scanner */
202 { USB_DEVICE(0x03f0, 0x0701), .driver_info =
203 USB_QUIRK_STRING_FETCH_255 },
204
205 /* HP v222w 16GB Mini USB Drive */
206 { USB_DEVICE(0x03f0, 0x3f40), .driver_info = USB_QUIRK_DELAY_INIT },
207
208 /* Creative SB Audigy 2 NX */
209 { USB_DEVICE(0x041e, 0x3020), .driver_info = USB_QUIRK_RESET_RESUME },
210
211 /* USB3503 */
212 { USB_DEVICE(0x0424, 0x3503), .driver_info = USB_QUIRK_RESET_RESUME },
213
214 /* Microsoft Wireless Laser Mouse 6000 Receiver */
215 { USB_DEVICE(0x045e, 0x00e1), .driver_info = USB_QUIRK_RESET_RESUME },
216
217 /* Microsoft LifeCam-VX700 v2.0 */
218 { USB_DEVICE(0x045e, 0x0770), .driver_info = USB_QUIRK_RESET_RESUME },
219
220 /* Microsoft Surface Dock Ethernet (RTL8153 GigE) */
221 { USB_DEVICE(0x045e, 0x07c6), .driver_info = USB_QUIRK_NO_LPM },
222
223 /* Cherry Stream G230 2.0 (G85-231) and 3.0 (G85-232) */
224 { USB_DEVICE(0x046a, 0x0023), .driver_info = USB_QUIRK_RESET_RESUME },
225
226 /* Logitech HD Webcam C270 */
227 { USB_DEVICE(0x046d, 0x0825), .driver_info = USB_QUIRK_RESET_RESUME },
228
229 /* Logitech HD Pro Webcams C920, C920-C, C922, C925e and C930e */
230 { USB_DEVICE(0x046d, 0x082d), .driver_info = USB_QUIRK_DELAY_INIT },
231 { USB_DEVICE(0x046d, 0x0841), .driver_info = USB_QUIRK_DELAY_INIT },
232 { USB_DEVICE(0x046d, 0x0843), .driver_info = USB_QUIRK_DELAY_INIT },
233 { USB_DEVICE(0x046d, 0x085b), .driver_info = USB_QUIRK_DELAY_INIT },
234 { USB_DEVICE(0x046d, 0x085c), .driver_info = USB_QUIRK_DELAY_INIT },
235
236 /* Logitech ConferenceCam CC3000e */
237 { USB_DEVICE(0x046d, 0x0847), .driver_info = USB_QUIRK_DELAY_INIT },
238 { USB_DEVICE(0x046d, 0x0848), .driver_info = USB_QUIRK_DELAY_INIT },
239
240 /* Logitech PTZ Pro Camera */
241 { USB_DEVICE(0x046d, 0x0853), .driver_info = USB_QUIRK_DELAY_INIT },
242
243 /* Logitech Screen Share */
244 { USB_DEVICE(0x046d, 0x086c), .driver_info = USB_QUIRK_NO_LPM },
245
246 /* Logitech Quickcam Fusion */
247 { USB_DEVICE(0x046d, 0x08c1), .driver_info = USB_QUIRK_RESET_RESUME },
248
249 /* Logitech Quickcam Orbit MP */
250 { USB_DEVICE(0x046d, 0x08c2), .driver_info = USB_QUIRK_RESET_RESUME },
251
252 /* Logitech Quickcam Pro for Notebook */
253 { USB_DEVICE(0x046d, 0x08c3), .driver_info = USB_QUIRK_RESET_RESUME },
254
255 /* Logitech Quickcam Pro 5000 */
256 { USB_DEVICE(0x046d, 0x08c5), .driver_info = USB_QUIRK_RESET_RESUME },
257
258 /* Logitech Quickcam OEM Dell Notebook */
259 { USB_DEVICE(0x046d, 0x08c6), .driver_info = USB_QUIRK_RESET_RESUME },
260
261 /* Logitech Quickcam OEM Cisco VT Camera II */
262 { USB_DEVICE(0x046d, 0x08c7), .driver_info = USB_QUIRK_RESET_RESUME },
263
264 /* Logitech Harmony 700-series */
265 { USB_DEVICE(0x046d, 0xc122), .driver_info = USB_QUIRK_DELAY_INIT },
266
267 /* Philips PSC805 audio device */
268 { USB_DEVICE(0x0471, 0x0155), .driver_info = USB_QUIRK_RESET_RESUME },
269
270 /* Plantronic Audio 655 DSP */
271 { USB_DEVICE(0x047f, 0xc008), .driver_info = USB_QUIRK_RESET_RESUME },
272
273 /* Plantronic Audio 648 USB */
274 { USB_DEVICE(0x047f, 0xc013), .driver_info = USB_QUIRK_RESET_RESUME },
275
276 /* Artisman Watchdog Dongle */
277 { USB_DEVICE(0x04b4, 0x0526), .driver_info =
278 USB_QUIRK_CONFIG_INTF_STRINGS },
279
280 /* Microchip Joss Optical infrared touchboard device */
281 { USB_DEVICE(0x04d8, 0x000c), .driver_info =
282 USB_QUIRK_CONFIG_INTF_STRINGS },
283
284 /* CarrolTouch 4000U */
285 { USB_DEVICE(0x04e7, 0x0009), .driver_info = USB_QUIRK_RESET_RESUME },
286
287 /* CarrolTouch 4500U */
288 { USB_DEVICE(0x04e7, 0x0030), .driver_info = USB_QUIRK_RESET_RESUME },
289
290 /* Samsung Android phone modem - ID conflict with SPH-I500 */
291 { USB_DEVICE(0x04e8, 0x6601), .driver_info =
292 USB_QUIRK_CONFIG_INTF_STRINGS },
293
294 /* Elan Touchscreen */
295 { USB_DEVICE(0x04f3, 0x0089), .driver_info =
296 USB_QUIRK_DEVICE_QUALIFIER },
297
298 { USB_DEVICE(0x04f3, 0x009b), .driver_info =
299 USB_QUIRK_DEVICE_QUALIFIER },
300
301 { USB_DEVICE(0x04f3, 0x010c), .driver_info =
302 USB_QUIRK_DEVICE_QUALIFIER },
303
304 { USB_DEVICE(0x04f3, 0x0125), .driver_info =
305 USB_QUIRK_DEVICE_QUALIFIER },
306
307 { USB_DEVICE(0x04f3, 0x016f), .driver_info =
308 USB_QUIRK_DEVICE_QUALIFIER },
309
310 { USB_DEVICE(0x04f3, 0x0381), .driver_info =
311 USB_QUIRK_NO_LPM },
312
313 { USB_DEVICE(0x04f3, 0x21b8), .driver_info =
314 USB_QUIRK_DEVICE_QUALIFIER },
315
316 /* Roland SC-8820 */
317 { USB_DEVICE(0x0582, 0x0007), .driver_info = USB_QUIRK_RESET_RESUME },
318
319 /* Edirol SD-20 */
320 { USB_DEVICE(0x0582, 0x0027), .driver_info = USB_QUIRK_RESET_RESUME },
321
322 /* Alcor Micro Corp. Hub */
323 { USB_DEVICE(0x058f, 0x9254), .driver_info = USB_QUIRK_RESET_RESUME },
324
325 /* appletouch */
326 { USB_DEVICE(0x05ac, 0x021a), .driver_info = USB_QUIRK_RESET_RESUME },
327
328 /* Genesys Logic hub, internally used by KY-688 USB 3.1 Type-C Hub */
329 { USB_DEVICE(0x05e3, 0x0612), .driver_info = USB_QUIRK_NO_LPM },
330
331 /* ELSA MicroLink 56K */
332 { USB_DEVICE(0x05cc, 0x2267), .driver_info = USB_QUIRK_RESET_RESUME },
333
334 /* Genesys Logic hub, internally used by Moshi USB to Ethernet Adapter */
335 { USB_DEVICE(0x05e3, 0x0616), .driver_info = USB_QUIRK_NO_LPM },
336
337 /* Avision AV600U */
338 { USB_DEVICE(0x0638, 0x0a13), .driver_info =
339 USB_QUIRK_STRING_FETCH_255 },
340
341 /* Saitek Cyborg Gold Joystick */
342 { USB_DEVICE(0x06a3, 0x0006), .driver_info =
343 USB_QUIRK_CONFIG_INTF_STRINGS },
344
345 /* Guillemot Webcam Hercules Dualpix Exchange (2nd ID) */
346 { USB_DEVICE(0x06f8, 0x0804), .driver_info = USB_QUIRK_RESET_RESUME },
347
348 /* Guillemot Webcam Hercules Dualpix Exchange*/
349 { USB_DEVICE(0x06f8, 0x3005), .driver_info = USB_QUIRK_RESET_RESUME },
350
351 /* Midiman M-Audio Keystation 88es */
352 { USB_DEVICE(0x0763, 0x0192), .driver_info = USB_QUIRK_RESET_RESUME },
353
354 /* SanDisk Ultra Fit and Ultra Flair */
355 { USB_DEVICE(0x0781, 0x5583), .driver_info = USB_QUIRK_NO_LPM },
356 { USB_DEVICE(0x0781, 0x5591), .driver_info = USB_QUIRK_NO_LPM },
357
358 /* M-Systems Flash Disk Pioneers */
359 { USB_DEVICE(0x08ec, 0x1000), .driver_info = USB_QUIRK_RESET_RESUME },
360
361 /* Baum Vario Ultra */
362 { USB_DEVICE(0x0904, 0x6101), .driver_info =
363 USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL },
364 { USB_DEVICE(0x0904, 0x6102), .driver_info =
365 USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL },
366 { USB_DEVICE(0x0904, 0x6103), .driver_info =
367 USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL },
368
369 /* Sound Devices USBPre2 */
370 { USB_DEVICE(0x0926, 0x0202), .driver_info =
371 USB_QUIRK_ENDPOINT_IGNORE },
372
373 /* Sound Devices MixPre-D */
374 { USB_DEVICE(0x0926, 0x0208), .driver_info =
375 USB_QUIRK_ENDPOINT_IGNORE },
376
377 /* Keytouch QWERTY Panel keyboard */
378 { USB_DEVICE(0x0926, 0x3333), .driver_info =
379 USB_QUIRK_CONFIG_INTF_STRINGS },
380
381 /* Kingston DataTraveler 3.0 */
382 { USB_DEVICE(0x0951, 0x1666), .driver_info = USB_QUIRK_NO_LPM },
383
384 /* X-Rite/Gretag-Macbeth Eye-One Pro display colorimeter */
385 { USB_DEVICE(0x0971, 0x2000), .driver_info = USB_QUIRK_NO_SET_INTF },
386
387 /* Broadcom BCM92035DGROM BT dongle */
388 { USB_DEVICE(0x0a5c, 0x2021), .driver_info = USB_QUIRK_RESET_RESUME },
389
390 /* MAYA44USB sound device */
391 { USB_DEVICE(0x0a92, 0x0091), .driver_info = USB_QUIRK_RESET_RESUME },
392
393 /* ASUS Base Station(T100) */
394 { USB_DEVICE(0x0b05, 0x17e0), .driver_info =
395 USB_QUIRK_IGNORE_REMOTE_WAKEUP },
396
397 /* Realtek hub in Dell WD19 (Type-C) */
398 { USB_DEVICE(0x0bda, 0x0487), .driver_info = USB_QUIRK_NO_LPM },
399
400 /* Generic RTL8153 based ethernet adapters */
401 { USB_DEVICE(0x0bda, 0x8153), .driver_info = USB_QUIRK_NO_LPM },
402
403 /* SONiX USB DEVICE Touchpad */
404 { USB_DEVICE(0x0c45, 0x7056), .driver_info =
405 USB_QUIRK_IGNORE_REMOTE_WAKEUP },
406
407 /* Action Semiconductor flash disk */
408 { USB_DEVICE(0x10d6, 0x2200), .driver_info =
409 USB_QUIRK_STRING_FETCH_255 },
410
411 /* Huawei 4G LTE module */
412 { USB_DEVICE(0x12d1, 0x15bb), .driver_info =
413 USB_QUIRK_DISCONNECT_SUSPEND },
414 { USB_DEVICE(0x12d1, 0x15c3), .driver_info =
415 USB_QUIRK_DISCONNECT_SUSPEND },
416
417 /* SKYMEDI USB_DRIVE */
418 { USB_DEVICE(0x1516, 0x8628), .driver_info = USB_QUIRK_RESET_RESUME },
419
420 /* Razer - Razer Blade Keyboard */
421 { USB_DEVICE(0x1532, 0x0116), .driver_info =
422 USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL },
423
424 /* Lenovo - ThinkCenter A630Z TI024Gen3 usb-audio card */
425 { USB_DEVICE(0x17ef, 0x0xa012), .driver_info =
426 USB_QUIRK_DISCONNECT_SUSPEND },
427
428 /* BUILDWIN Photo Frame */
429 { USB_DEVICE(0x1908, 0x1315), .driver_info =
430 USB_QUIRK_HONOR_BNUMINTERFACES },
431
432 /* Protocol and OTG Electrical Test Device */
433 { USB_DEVICE(0x1a0a, 0x0200), .driver_info =
434 USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL },
435
436 /* Terminus Technology Inc. Hub */
437 { USB_DEVICE(0x1a40, 0x0101), .driver_info = USB_QUIRK_HUB_SLOW_RESET },
438
439 /* Corsair K70 RGB */
440 { USB_DEVICE(0x1b1c, 0x1b13), .driver_info = USB_QUIRK_DELAY_INIT |
441 USB_QUIRK_DELAY_CTRL_MSG },
442
443 /* Corsair Strafe */
444 { USB_DEVICE(0x1b1c, 0x1b15), .driver_info = USB_QUIRK_DELAY_INIT |
445 USB_QUIRK_DELAY_CTRL_MSG },
446
447 /* Corsair Strafe RGB */
448 { USB_DEVICE(0x1b1c, 0x1b20), .driver_info = USB_QUIRK_DELAY_INIT |
449 USB_QUIRK_DELAY_CTRL_MSG },
450
451 /* Corsair K70 LUX RGB */
452 { USB_DEVICE(0x1b1c, 0x1b33), .driver_info = USB_QUIRK_DELAY_INIT },
453
454 /* Corsair K70 LUX */
455 { USB_DEVICE(0x1b1c, 0x1b36), .driver_info = USB_QUIRK_DELAY_INIT },
456
457 /* Corsair K70 RGB RAPDIFIRE */
458 { USB_DEVICE(0x1b1c, 0x1b38), .driver_info = USB_QUIRK_DELAY_INIT |
459 USB_QUIRK_DELAY_CTRL_MSG },
460
461 /* MIDI keyboard WORLDE MINI */
462 { USB_DEVICE(0x1c75, 0x0204), .driver_info =
463 USB_QUIRK_CONFIG_INTF_STRINGS },
464
465 /* Acer C120 LED Projector */
466 { USB_DEVICE(0x1de1, 0xc102), .driver_info = USB_QUIRK_NO_LPM },
467
468 /* Blackmagic Design Intensity Shuttle */
469 { USB_DEVICE(0x1edb, 0xbd3b), .driver_info = USB_QUIRK_NO_LPM },
470
471 /* Blackmagic Design UltraStudio SDI */
472 { USB_DEVICE(0x1edb, 0xbd4f), .driver_info = USB_QUIRK_NO_LPM },
473
474 /* Hauppauge HVR-950q */
475 { USB_DEVICE(0x2040, 0x7200), .driver_info =
476 USB_QUIRK_CONFIG_INTF_STRINGS },
477
478 /* Raydium Touchscreen */
479 { USB_DEVICE(0x2386, 0x3114), .driver_info = USB_QUIRK_NO_LPM },
480
481 { USB_DEVICE(0x2386, 0x3119), .driver_info = USB_QUIRK_NO_LPM },
482
483 { USB_DEVICE(0x2386, 0x350e), .driver_info = USB_QUIRK_NO_LPM },
484
485 /* DJI CineSSD */
486 { USB_DEVICE(0x2ca3, 0x0031), .driver_info = USB_QUIRK_NO_LPM },
487
488 /* INTEL VALUE SSD */
489 { USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
490
491 /* novation SoundControl XL */
492 { USB_DEVICE(0x1235, 0x0061), .driver_info = USB_QUIRK_RESET_RESUME },
493
494 { } /* terminating entry must be last */
495 };
496
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org