Hi Mauro, I love your patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.16-rc3 next-20180223] [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/Mauro-Carvalho-Chehab/media-ttpci-ttusb-add-extra-parameter-to-filter-callbacks/20180226-144150 base: git://linuxtv.org/media_tree.git master config: i386-randconfig-x019-201808 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/media/usb/ttusb-dec/ttusb_dec.c: In function 'ttusb_dec_audio_pes2ts_cb': >> drivers/media/usb/ttusb-dec/ttusb_dec.c:430:2: error: too many arguments to function 'dec->audio_filter->feed->cb.ts' dec->audio_filter->feed->cb.ts(data, 188, NULL, 0, ^~~ drivers/media/usb/ttusb-dec/ttusb_dec.c: In function 'ttusb_dec_video_pes2ts_cb': >> drivers/media/usb/ttusb-dec/ttusb_dec.c:440:2: error: too many arguments to function 'dec->video_filter->feed->cb.ts' dec->video_filter->feed->cb.ts(data, 188, NULL, 0, ^~~ drivers/media/usb/ttusb-dec/ttusb_dec.c: In function 'ttusb_dec_process_pva': drivers/media/usb/ttusb-dec/ttusb_dec.c:492:4: error: too many arguments to function 'dec->video_filter->feed->cb.ts' dec->video_filter->feed->cb.ts(pva, length, NULL, 0, ^~~ drivers/media/usb/ttusb-dec/ttusb_dec.c:553:4: error: too many arguments to function 'dec->audio_filter->feed->cb.ts' dec->audio_filter->feed->cb.ts(pva, length, NULL, 0, ^~~ drivers/media/usb/ttusb-dec/ttusb_dec.c: In function 'ttusb_dec_process_filter': >> drivers/media/usb/ttusb-dec/ttusb_dec.c:591:3: error: too many arguments to function 'filter->feed->cb.sec' filter->feed->cb.sec(&packet[2], length - 2, NULL, 0, ^~~~~~ vim +430 drivers/media/usb/ttusb-dec/ttusb_dec.c ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 425 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 426 static int ttusb_dec_audio_pes2ts_cb(void *priv, unsigned char *data) ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 427 { f961e71a0 drivers/media/dvb/ttusb-dec/ttusb_dec.c Alex Woods 2006-01-09 428 struct ttusb_dec *dec = priv; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 429 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 @430 dec->audio_filter->feed->cb.ts(data, 188, NULL, 0, daaf93025 drivers/media/usb/ttusb-dec/ttusb_dec.c Mauro Carvalho Chehab 2018-02-23 431 &dec->audio_filter->feed->feed.ts, NULL); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 432 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 433 return 0; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 434 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 435 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 436 static int ttusb_dec_video_pes2ts_cb(void *priv, unsigned char *data) ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 437 { f961e71a0 drivers/media/dvb/ttusb-dec/ttusb_dec.c Alex Woods 2006-01-09 438 struct ttusb_dec *dec = priv; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 439 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 @440 dec->video_filter->feed->cb.ts(data, 188, NULL, 0, daaf93025 drivers/media/usb/ttusb-dec/ttusb_dec.c Mauro Carvalho Chehab 2018-02-23 441 &dec->video_filter->feed->feed.ts, NULL); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 442 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 443 return 0; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 444 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 445 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 446 static void ttusb_dec_set_pids(struct ttusb_dec *dec) ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 447 { ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 448 u8 b[] = { 0x00, 0x00, 0x00, 0x00, ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 449 0x00, 0x00, 0xff, 0xff, ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 450 0xff, 0xff, 0xff, 0xff }; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 451 d4f979a9e drivers/media/dvb/ttusb-dec/ttusb_dec.c Al Viro 2008-05-21 452 __be16 pcr = htons(dec->pid[DMX_PES_PCR]); d4f979a9e drivers/media/dvb/ttusb-dec/ttusb_dec.c Al Viro 2008-05-21 453 __be16 audio = htons(dec->pid[DMX_PES_AUDIO]); d4f979a9e drivers/media/dvb/ttusb-dec/ttusb_dec.c Al Viro 2008-05-21 454 __be16 video = htons(dec->pid[DMX_PES_VIDEO]); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 455 e9815ceea drivers/media/dvb/ttusb-dec/ttusb_dec.c Harvey Harrison 2008-04-08 456 dprintk("%s\n", __func__); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 457 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 458 memcpy(&b[0], &pcr, 2); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 459 memcpy(&b[2], &audio, 2); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 460 memcpy(&b[4], &video, 2); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 461 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 462 ttusb_dec_send_command(dec, 0x50, sizeof(b), b, NULL, NULL); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 463 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 464 dvb_filter_pes2ts_init(&dec->a_pes2ts, dec->pid[DMX_PES_AUDIO], ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 465 ttusb_dec_audio_pes2ts_cb, dec); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 466 dvb_filter_pes2ts_init(&dec->v_pes2ts, dec->pid[DMX_PES_VIDEO], ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 467 ttusb_dec_video_pes2ts_cb, dec); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 468 dec->v_pes_length = 0; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 469 dec->v_pes_postbytes = 0; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 470 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 471 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 472 static void ttusb_dec_process_pva(struct ttusb_dec *dec, u8 *pva, int length) ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 473 { ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 474 if (length < 8) { e9815ceea drivers/media/dvb/ttusb-dec/ttusb_dec.c Harvey Harrison 2008-04-08 475 printk("%s: packet too short - discarding\n", __func__); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 476 return; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 477 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 478 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 479 if (length > 8 + MAX_PVA_LENGTH) { e9815ceea drivers/media/dvb/ttusb-dec/ttusb_dec.c Harvey Harrison 2008-04-08 480 printk("%s: packet too long - discarding\n", __func__); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 481 return; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 482 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 483 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 484 switch (pva[2]) { ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 485 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 486 case 0x01: { /* VideoStream */ ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 487 int prebytes = pva[5] & 0x03; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 488 int postbytes = (pva[5] & 0x0c) >> 2; d4f979a9e drivers/media/dvb/ttusb-dec/ttusb_dec.c Al Viro 2008-05-21 489 __be16 v_pes_payload_length; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 490 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 491 if (output_pva) { ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 @492 dec->video_filter->feed->cb.ts(pva, length, NULL, 0, daaf93025 drivers/media/usb/ttusb-dec/ttusb_dec.c Mauro Carvalho Chehab 2018-02-23 493 &dec->video_filter->feed->feed.ts, NULL); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 494 return; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 495 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 496 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 497 if (dec->v_pes_postbytes > 0 && ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 498 dec->v_pes_postbytes == prebytes) { ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 499 memcpy(&dec->v_pes[dec->v_pes_length], ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 500 &pva[12], prebytes); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 501 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 502 dvb_filter_pes2ts(&dec->v_pes2ts, dec->v_pes, ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 503 dec->v_pes_length + prebytes, 1); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 504 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 505 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 506 if (pva[5] & 0x10) { ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 507 dec->v_pes[7] = 0x80; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 508 dec->v_pes[8] = 0x05; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 509 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 510 dec->v_pes[9] = 0x21 | ((pva[8] & 0xc0) >> 5); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 511 dec->v_pes[10] = ((pva[8] & 0x3f) << 2) | ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 512 ((pva[9] & 0xc0) >> 6); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 513 dec->v_pes[11] = 0x01 | ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 514 ((pva[9] & 0x3f) << 2) | ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 515 ((pva[10] & 0x80) >> 6); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 516 dec->v_pes[12] = ((pva[10] & 0x7f) << 1) | ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 517 ((pva[11] & 0xc0) >> 7); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 518 dec->v_pes[13] = 0x01 | ((pva[11] & 0x7f) << 1); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 519 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 520 memcpy(&dec->v_pes[14], &pva[12 + prebytes], ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 521 length - 12 - prebytes); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 522 dec->v_pes_length = 14 + length - 12 - prebytes; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 523 } else { ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 524 dec->v_pes[7] = 0x00; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 525 dec->v_pes[8] = 0x00; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 526 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 527 memcpy(&dec->v_pes[9], &pva[8], length - 8); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 528 dec->v_pes_length = 9 + length - 8; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 529 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 530 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 531 dec->v_pes_postbytes = postbytes; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 532 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 533 if (dec->v_pes[9 + dec->v_pes[8]] == 0x00 && ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 534 dec->v_pes[10 + dec->v_pes[8]] == 0x00 && ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 535 dec->v_pes[11 + dec->v_pes[8]] == 0x01) ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 536 dec->v_pes[6] = 0x84; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 537 else ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 538 dec->v_pes[6] = 0x80; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 539 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 540 v_pes_payload_length = htons(dec->v_pes_length - 6 + ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 541 postbytes); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 542 memcpy(&dec->v_pes[4], &v_pes_payload_length, 2); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 543 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 544 if (postbytes == 0) ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 545 dvb_filter_pes2ts(&dec->v_pes2ts, dec->v_pes, ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 546 dec->v_pes_length, 1); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 547 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 548 break; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 549 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 550 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 551 case 0x02: /* MainAudioStream */ ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 552 if (output_pva) { ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 553 dec->audio_filter->feed->cb.ts(pva, length, NULL, 0, daaf93025 drivers/media/usb/ttusb-dec/ttusb_dec.c Mauro Carvalho Chehab 2018-02-23 554 &dec->audio_filter->feed->feed.ts, NULL); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 555 return; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 556 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 557 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 558 dvb_filter_pes2ts(&dec->a_pes2ts, &pva[8], length - 8, ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 559 pva[5] & 0x10); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 560 break; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 561 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 562 default: e9815ceea drivers/media/dvb/ttusb-dec/ttusb_dec.c Harvey Harrison 2008-04-08 563 printk("%s: unknown PVA type: %02x.\n", __func__, ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 564 pva[2]); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 565 break; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 566 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 567 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 568 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 569 static void ttusb_dec_process_filter(struct ttusb_dec *dec, u8 *packet, ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 570 int length) ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 571 { ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 572 struct list_head *item; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 573 struct filter_info *finfo; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 574 struct dvb_demux_filter *filter = NULL; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 575 unsigned long flags; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 576 u8 sid; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 577 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 578 sid = packet[1]; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 579 spin_lock_irqsave(&dec->filter_info_list_lock, flags); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 580 for (item = dec->filter_info_list.next; item != &dec->filter_info_list; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 581 item = item->next) { ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 582 finfo = list_entry(item, struct filter_info, filter_info_list); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 583 if (finfo->stream_id == sid) { ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 584 filter = finfo->filter; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 585 break; ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 586 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 587 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 588 spin_unlock_irqrestore(&dec->filter_info_list_lock, flags); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 589 ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 590 if (filter) ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 @591 filter->feed->cb.sec(&packet[2], length - 2, NULL, 0, daaf93025 drivers/media/usb/ttusb-dec/ttusb_dec.c Mauro Carvalho Chehab 2018-02-23 592 &filter->filter, NULL); ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 593 } ^1da177e4 drivers/media/dvb/ttusb-dec/ttusb_dec.c Linus Torvalds 2005-04-16 594 :::::: The code at line 430 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip