tree:
git://git.infradead.org/users/hch/block.git block-bounce-cleanup
head: 32689ac00077fa97c292009c17ccaff150a81107
commit: 68c46eba39a6849411b4de9b08b74dd361888c74 [4/11] Buslogic: remove ISA support
config: i386-randconfig-a004-20210312 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add hch-block
git://git.infradead.org/users/hch/block.git
git fetch --no-tags hch-block block-bounce-cleanup
git checkout 68c46eba39a6849411b4de9b08b74dd361888c74
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/scsi/BusLogic.c: In function 'blogic_init_mm_probeinfo':
> drivers/scsi/BusLogic.c:616:7: warning: variable
'addr_seen' set but not used [-Wunused-but-set-variable]
616 | bool
addr_seen[6];
| ^~~~~~~~~
drivers/scsi/BusLogic.c: In function 'blogic_msg':
drivers/scsi/BusLogic.c:3474:2: warning: function 'blogic_msg' might be a
candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
3474 | len = vsprintf(buf, fmt, args);
| ^~~
vim +/addr_seen +616 drivers/scsi/BusLogic.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 607
839cb99e8f7483 Khalid Aziz 2013-05-16 608 static int __init
blogic_init_mm_probeinfo(struct blogic_adapter *adapter)
^1da177e4c3f41 Linus Torvalds 2005-04-16 609 {
839cb99e8f7483 Khalid Aziz 2013-05-16 610 struct blogic_probeinfo *pr_probeinfo
=
839cb99e8f7483 Khalid Aziz 2013-05-16 611
&blogic_probeinfo_list[blogic_probeinfo_count];
839cb99e8f7483 Khalid Aziz 2013-05-16 612 int nonpr_mmindex =
blogic_probeinfo_count + 1;
839cb99e8f7483 Khalid Aziz 2013-05-16 613 int nonpr_mmcount = 0, mmcount = 0;
839cb99e8f7483 Khalid Aziz 2013-05-16 614 bool force_scan_order = false;
839cb99e8f7483 Khalid Aziz 2013-05-16 615 bool force_scan_order_checked = false;
839cb99e8f7483 Khalid Aziz 2013-05-16 @616 bool addr_seen[6];
839cb99e8f7483 Khalid Aziz 2013-05-16 617 struct pci_dev *pci_device = NULL;
^1da177e4c3f41 Linus Torvalds 2005-04-16 618 int i;
839cb99e8f7483 Khalid Aziz 2013-05-16 619 if (blogic_probeinfo_count >=
BLOGIC_MAX_ADAPTERS)
^1da177e4c3f41 Linus Torvalds 2005-04-16 620 return 0;
839cb99e8f7483 Khalid Aziz 2013-05-16 621 blogic_probeinfo_count++;
^1da177e4c3f41 Linus Torvalds 2005-04-16 622 for (i = 0; i < 6; i++)
839cb99e8f7483 Khalid Aziz 2013-05-16 623 addr_seen[i] = false;
839cb99e8f7483 Khalid Aziz 2013-05-16 624 /*
839cb99e8f7483 Khalid Aziz 2013-05-16 625 Iterate over the MultiMaster PCI
Host Adapters. For each
839cb99e8f7483 Khalid Aziz 2013-05-16 626 enumerated host adapter, determine
whether its ISA Compatible
839cb99e8f7483 Khalid Aziz 2013-05-16 627 I/O Port is enabled and if so,
whether it is assigned the
839cb99e8f7483 Khalid Aziz 2013-05-16 628 Primary I/O Address. A host adapter
that is assigned the
839cb99e8f7483 Khalid Aziz 2013-05-16 629 Primary I/O Address will always be
the preferred boot device.
839cb99e8f7483 Khalid Aziz 2013-05-16 630 The MultiMaster BIOS will first
recognize a host adapter at
839cb99e8f7483 Khalid Aziz 2013-05-16 631 the Primary I/O Address, then any
other PCI host adapters,
839cb99e8f7483 Khalid Aziz 2013-05-16 632 and finally any host adapters
located at the remaining
839cb99e8f7483 Khalid Aziz 2013-05-16 633 standard ISA I/O Addresses. When a
PCI host adapter is found
839cb99e8f7483 Khalid Aziz 2013-05-16 634 with its ISA Compatible I/O Port
enabled, a command is issued
839cb99e8f7483 Khalid Aziz 2013-05-16 635 to disable the ISA Compatible I/O
Port, and it is noted that the
^1da177e4c3f41 Linus Torvalds 2005-04-16 636 particular standard ISA I/O Address
need not be probed.
^1da177e4c3f41 Linus Torvalds 2005-04-16 637 */
839cb99e8f7483 Khalid Aziz 2013-05-16 638 pr_probeinfo->io_addr = 0;
839cb99e8f7483 Khalid Aziz 2013-05-16 639 while ((pci_device =
pci_get_device(PCI_VENDOR_ID_BUSLOGIC,
839cb99e8f7483 Khalid Aziz 2013-05-16 640
PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER,
839cb99e8f7483 Khalid Aziz 2013-05-16 641 pci_device)) != NULL) {
6541932ea2f7de Khalid Aziz 2013-09-25 642 struct blogic_adapter *host_adapter =
adapter;
839cb99e8f7483 Khalid Aziz 2013-05-16 643 struct blogic_adapter_info
adapter_info;
839cb99e8f7483 Khalid Aziz 2013-05-16 644 enum blogic_isa_ioport
mod_ioaddr_req;
839cb99e8f7483 Khalid Aziz 2013-05-16 645 unsigned char bus;
839cb99e8f7483 Khalid Aziz 2013-05-16 646 unsigned char device;
839cb99e8f7483 Khalid Aziz 2013-05-16 647 unsigned int irq_ch;
839cb99e8f7483 Khalid Aziz 2013-05-16 648 unsigned long base_addr0;
839cb99e8f7483 Khalid Aziz 2013-05-16 649 unsigned long base_addr1;
839cb99e8f7483 Khalid Aziz 2013-05-16 650 unsigned long io_addr;
839cb99e8f7483 Khalid Aziz 2013-05-16 651 unsigned long pci_addr;
839cb99e8f7483 Khalid Aziz 2013-05-16 652
839cb99e8f7483 Khalid Aziz 2013-05-16 653 if (pci_enable_device(pci_device))
^1da177e4c3f41 Linus Torvalds 2005-04-16 654 continue;
^1da177e4c3f41 Linus Torvalds 2005-04-16 655
17a361b20a0f90 Christoph Hellwig 2018-10-10 656 if
(dma_set_mask(&pci_device->dev, DMA_BIT_MASK(32)))
^1da177e4c3f41 Linus Torvalds 2005-04-16 657 continue;
^1da177e4c3f41 Linus Torvalds 2005-04-16 658
839cb99e8f7483 Khalid Aziz 2013-05-16 659 bus = pci_device->bus->number;
839cb99e8f7483 Khalid Aziz 2013-05-16 660 device = pci_device->devfn >>
3;
839cb99e8f7483 Khalid Aziz 2013-05-16 661 irq_ch = pci_device->irq;
839cb99e8f7483 Khalid Aziz 2013-05-16 662 io_addr = base_addr0 =
pci_resource_start(pci_device, 0);
839cb99e8f7483 Khalid Aziz 2013-05-16 663 pci_addr = base_addr1 =
pci_resource_start(pci_device, 1);
^1da177e4c3f41 Linus Torvalds 2005-04-16 664
839cb99e8f7483 Khalid Aziz 2013-05-16 665 if (pci_resource_flags(pci_device, 0)
& IORESOURCE_MEM) {
43622697117c39 Colin Ian King 2020-01-08 666 blogic_err("BusLogic: Base
Address0 0x%lX not I/O for MultiMaster Host Adapter\n", NULL, base_addr0);
43622697117c39 Colin Ian King 2020-01-08 667 blogic_err("at PCI Bus %d Device
%d I/O Address 0x%lX\n", NULL, bus, device, io_addr);
^1da177e4c3f41 Linus Torvalds 2005-04-16 668 continue;
^1da177e4c3f41 Linus Torvalds 2005-04-16 669 }
839cb99e8f7483 Khalid Aziz 2013-05-16 670 if (pci_resource_flags(pci_device, 1)
& IORESOURCE_IO) {
43622697117c39 Colin Ian King 2020-01-08 671 blogic_err("BusLogic: Base
Address1 0x%lX not Memory for MultiMaster Host Adapter\n", NULL, base_addr1);
43622697117c39 Colin Ian King 2020-01-08 672 blogic_err("at PCI Bus %d Device
%d PCI Address 0x%lX\n", NULL, bus, device, pci_addr);
^1da177e4c3f41 Linus Torvalds 2005-04-16 673 continue;
^1da177e4c3f41 Linus Torvalds 2005-04-16 674 }
839cb99e8f7483 Khalid Aziz 2013-05-16 675 if (irq_ch == 0) {
43622697117c39 Colin Ian King 2020-01-08 676 blogic_err("BusLogic: IRQ
Channel %d invalid for MultiMaster Host Adapter\n", NULL, irq_ch);
43622697117c39 Colin Ian King 2020-01-08 677 blogic_err("at PCI Bus %d Device
%d I/O Address 0x%lX\n", NULL, bus, device, io_addr);
^1da177e4c3f41 Linus Torvalds 2005-04-16 678 continue;
^1da177e4c3f41 Linus Torvalds 2005-04-16 679 }
839cb99e8f7483 Khalid Aziz 2013-05-16 680 if (blogic_global_options.trace_probe)
{
43622697117c39 Colin Ian King 2020-01-08 681 blogic_notice("BusLogic: PCI
MultiMaster Host Adapter detected at\n", NULL);
43622697117c39 Colin Ian King 2020-01-08 682 blogic_notice("BusLogic: PCI Bus
%d Device %d I/O Address 0x%lX PCI Address 0x%lX\n", NULL, bus, device, io_addr,
pci_addr);
^1da177e4c3f41 Linus Torvalds 2005-04-16 683 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 684 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 685 Issue the Inquire PCI Host Adapter
Information command to determine
^1da177e4c3f41 Linus Torvalds 2005-04-16 686 the ISA Compatible I/O Port. If
the ISA Compatible I/O Port is
^1da177e4c3f41 Linus Torvalds 2005-04-16 687 known and enabled, note that the
particular Standard ISA I/O
^1da177e4c3f41 Linus Torvalds 2005-04-16 688 Address should not be probed.
^1da177e4c3f41 Linus Torvalds 2005-04-16 689 */
6541932ea2f7de Khalid Aziz 2013-09-25 690 host_adapter->io_addr = io_addr;
6541932ea2f7de Khalid Aziz 2013-09-25 691 blogic_intreset(host_adapter);
6541932ea2f7de Khalid Aziz 2013-09-25 692 if (blogic_cmd(host_adapter,
BLOGIC_INQ_PCI_INFO, NULL, 0,
839cb99e8f7483 Khalid Aziz 2013-05-16 693 &adapter_info,
sizeof(adapter_info)) ==
839cb99e8f7483 Khalid Aziz 2013-05-16 694 sizeof(adapter_info)) {
839cb99e8f7483 Khalid Aziz 2013-05-16 695 if (adapter_info.isa_port < 6)
839cb99e8f7483 Khalid Aziz 2013-05-16 696 addr_seen[adapter_info.isa_port] =
true;
^1da177e4c3f41 Linus Torvalds 2005-04-16 697 } else
839cb99e8f7483 Khalid Aziz 2013-05-16 698 adapter_info.isa_port =
BLOGIC_IO_DISABLE;
839cb99e8f7483 Khalid Aziz 2013-05-16 699 /*
839cb99e8f7483 Khalid Aziz 2013-05-16 700 Issue the Modify I/O Address
command to disable the
839cb99e8f7483 Khalid Aziz 2013-05-16 701 ISA Compatible I/O Port. On PCI
Host Adapters, the
839cb99e8f7483 Khalid Aziz 2013-05-16 702 Modify I/O Address command allows
modification of the
839cb99e8f7483 Khalid Aziz 2013-05-16 703 ISA compatible I/O Address that the
Host Adapter
839cb99e8f7483 Khalid Aziz 2013-05-16 704 responds to; it does not affect the
PCI compliant
839cb99e8f7483 Khalid Aziz 2013-05-16 705 I/O Address assigned at system
initialization.
839cb99e8f7483 Khalid Aziz 2013-05-16 706 */
839cb99e8f7483 Khalid Aziz 2013-05-16 707 mod_ioaddr_req = BLOGIC_IO_DISABLE;
6541932ea2f7de Khalid Aziz 2013-09-25 708 blogic_cmd(host_adapter,
BLOGIC_MOD_IOADDR, &mod_ioaddr_req,
839cb99e8f7483 Khalid Aziz 2013-05-16 709 sizeof(mod_ioaddr_req), NULL, 0);
839cb99e8f7483 Khalid Aziz 2013-05-16 710 /*
839cb99e8f7483 Khalid Aziz 2013-05-16 711 For the first MultiMaster Host
Adapter enumerated,
839cb99e8f7483 Khalid Aziz 2013-05-16 712 issue the Fetch Host Adapter Local
RAM command to read
839cb99e8f7483 Khalid Aziz 2013-05-16 713 byte 45 of the AutoSCSI area, for
the setting of the
839cb99e8f7483 Khalid Aziz 2013-05-16 714 "Use Bus And Device # For PCI
Scanning Seq." option.
839cb99e8f7483 Khalid Aziz 2013-05-16 715 Issue the Inquire Board ID command
since this option is
^1da177e4c3f41 Linus Torvalds 2005-04-16 716 only valid for the
BT-948/958/958D.
^1da177e4c3f41 Linus Torvalds 2005-04-16 717 */
839cb99e8f7483 Khalid Aziz 2013-05-16 718 if (!force_scan_order_checked) {
839cb99e8f7483 Khalid Aziz 2013-05-16 719 struct blogic_fetch_localram
fetch_localram;
839cb99e8f7483 Khalid Aziz 2013-05-16 720 struct blogic_autoscsi_byte45
autoscsi_byte45;
839cb99e8f7483 Khalid Aziz 2013-05-16 721 struct blogic_board_id id;
839cb99e8f7483 Khalid Aziz 2013-05-16 722
839cb99e8f7483 Khalid Aziz 2013-05-16 723 fetch_localram.offset =
BLOGIC_AUTOSCSI_BASE + 45;
839cb99e8f7483 Khalid Aziz 2013-05-16 724 fetch_localram.count =
sizeof(autoscsi_byte45);
6541932ea2f7de Khalid Aziz 2013-09-25 725 blogic_cmd(host_adapter,
BLOGIC_FETCH_LOCALRAM,
839cb99e8f7483 Khalid Aziz 2013-05-16 726 &fetch_localram,
sizeof(fetch_localram),
839cb99e8f7483 Khalid Aziz 2013-05-16 727 &autoscsi_byte45,
839cb99e8f7483 Khalid Aziz 2013-05-16 728 sizeof(autoscsi_byte45));
6541932ea2f7de Khalid Aziz 2013-09-25 729 blogic_cmd(host_adapter,
BLOGIC_GET_BOARD_ID, NULL, 0,
6541932ea2f7de Khalid Aziz 2013-09-25 730 &id, sizeof(id));
839cb99e8f7483 Khalid Aziz 2013-05-16 731 if (id.fw_ver_digit1 == '5')
839cb99e8f7483 Khalid Aziz 2013-05-16 732 force_scan_order =
839cb99e8f7483 Khalid Aziz 2013-05-16 733 autoscsi_byte45.force_scan_order;
839cb99e8f7483 Khalid Aziz 2013-05-16 734 force_scan_order_checked = true;
839cb99e8f7483 Khalid Aziz 2013-05-16 735 }
839cb99e8f7483 Khalid Aziz 2013-05-16 736 /*
839cb99e8f7483 Khalid Aziz 2013-05-16 737 Determine whether this MultiMaster
Host Adapter has its
839cb99e8f7483 Khalid Aziz 2013-05-16 738 ISA Compatible I/O Port enabled and
is assigned the
839cb99e8f7483 Khalid Aziz 2013-05-16 739 Primary I/O Address. If it does,
then it is the Primary
839cb99e8f7483 Khalid Aziz 2013-05-16 740 MultiMaster Host Adapter and must
be recognized first.
839cb99e8f7483 Khalid Aziz 2013-05-16 741 If it does not, then it is added to
the list for probing
839cb99e8f7483 Khalid Aziz 2013-05-16 742 after any Primary MultiMaster Host
Adapter is probed.
839cb99e8f7483 Khalid Aziz 2013-05-16 743 */
839cb99e8f7483 Khalid Aziz 2013-05-16 744 if (adapter_info.isa_port ==
BLOGIC_IO_330) {
839cb99e8f7483 Khalid Aziz 2013-05-16 745 pr_probeinfo->adapter_type =
BLOGIC_MULTIMASTER;
839cb99e8f7483 Khalid Aziz 2013-05-16 746 pr_probeinfo->adapter_bus_type =
BLOGIC_PCI_BUS;
839cb99e8f7483 Khalid Aziz 2013-05-16 747 pr_probeinfo->io_addr = io_addr;
839cb99e8f7483 Khalid Aziz 2013-05-16 748 pr_probeinfo->pci_addr =
pci_addr;
839cb99e8f7483 Khalid Aziz 2013-05-16 749 pr_probeinfo->bus = bus;
839cb99e8f7483 Khalid Aziz 2013-05-16 750 pr_probeinfo->dev = device;
839cb99e8f7483 Khalid Aziz 2013-05-16 751 pr_probeinfo->irq_ch = irq_ch;
839cb99e8f7483 Khalid Aziz 2013-05-16 752 pr_probeinfo->pci_device =
pci_dev_get(pci_device);
839cb99e8f7483 Khalid Aziz 2013-05-16 753 mmcount++;
839cb99e8f7483 Khalid Aziz 2013-05-16 754 } else if (blogic_probeinfo_count <
BLOGIC_MAX_ADAPTERS) {
839cb99e8f7483 Khalid Aziz 2013-05-16 755 struct blogic_probeinfo *probeinfo =
839cb99e8f7483 Khalid Aziz 2013-05-16 756
&blogic_probeinfo_list[blogic_probeinfo_count++];
839cb99e8f7483 Khalid Aziz 2013-05-16 757 probeinfo->adapter_type =
BLOGIC_MULTIMASTER;
839cb99e8f7483 Khalid Aziz 2013-05-16 758 probeinfo->adapter_bus_type =
BLOGIC_PCI_BUS;
839cb99e8f7483 Khalid Aziz 2013-05-16 759 probeinfo->io_addr = io_addr;
839cb99e8f7483 Khalid Aziz 2013-05-16 760 probeinfo->pci_addr = pci_addr;
839cb99e8f7483 Khalid Aziz 2013-05-16 761 probeinfo->bus = bus;
839cb99e8f7483 Khalid Aziz 2013-05-16 762 probeinfo->dev = device;
839cb99e8f7483 Khalid Aziz 2013-05-16 763 probeinfo->irq_ch = irq_ch;
839cb99e8f7483 Khalid Aziz 2013-05-16 764 probeinfo->pci_device =
pci_dev_get(pci_device);
839cb99e8f7483 Khalid Aziz 2013-05-16 765 nonpr_mmcount++;
839cb99e8f7483 Khalid Aziz 2013-05-16 766 mmcount++;
^1da177e4c3f41 Linus Torvalds 2005-04-16 767 } else
43622697117c39 Colin Ian King 2020-01-08 768 blogic_warn("BusLogic: Too many
Host Adapters detected\n", NULL);
^1da177e4c3f41 Linus Torvalds 2005-04-16 769 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 770 /*
839cb99e8f7483 Khalid Aziz 2013-05-16 771 If the AutoSCSI "Use Bus And
Device # For PCI Scanning Seq."
839cb99e8f7483 Khalid Aziz 2013-05-16 772 option is ON for the first
enumerated MultiMaster Host Adapter,
839cb99e8f7483 Khalid Aziz 2013-05-16 773 and if that host adapter is a
BT-948/958/958D, then the
839cb99e8f7483 Khalid Aziz 2013-05-16 774 MultiMaster BIOS will recognize
MultiMaster Host Adapters in
839cb99e8f7483 Khalid Aziz 2013-05-16 775 the order of increasing PCI Bus and
Device Number. In that case,
839cb99e8f7483 Khalid Aziz 2013-05-16 776 sort the probe information into the
same order the BIOS uses.
839cb99e8f7483 Khalid Aziz 2013-05-16 777 If this option is OFF, then the
MultiMaster BIOS will recognize
839cb99e8f7483 Khalid Aziz 2013-05-16 778 MultiMaster Host Adapters in the
order they are enumerated by
839cb99e8f7483 Khalid Aziz 2013-05-16 779 the PCI BIOS, and hence no sorting
is necessary.
^1da177e4c3f41 Linus Torvalds 2005-04-16 780 */
839cb99e8f7483 Khalid Aziz 2013-05-16 781 if (force_scan_order)
839cb99e8f7483 Khalid Aziz 2013-05-16 782
blogic_sort_probeinfo(&blogic_probeinfo_list[nonpr_mmindex],
839cb99e8f7483 Khalid Aziz 2013-05-16 783 nonpr_mmcount);
^1da177e4c3f41 Linus Torvalds 2005-04-16 784 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 785 Iterate over the older non-compliant
MultiMaster PCI Host Adapters,
^1da177e4c3f41 Linus Torvalds 2005-04-16 786 noting the PCI bus location and
assigned IRQ Channel.
^1da177e4c3f41 Linus Torvalds 2005-04-16 787 */
839cb99e8f7483 Khalid Aziz 2013-05-16 788 pci_device = NULL;
839cb99e8f7483 Khalid Aziz 2013-05-16 789 while ((pci_device =
pci_get_device(PCI_VENDOR_ID_BUSLOGIC,
839cb99e8f7483 Khalid Aziz 2013-05-16 790
PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER_NC,
839cb99e8f7483 Khalid Aziz 2013-05-16 791 pci_device)) != NULL) {
839cb99e8f7483 Khalid Aziz 2013-05-16 792 unsigned char bus;
839cb99e8f7483 Khalid Aziz 2013-05-16 793 unsigned char device;
839cb99e8f7483 Khalid Aziz 2013-05-16 794 unsigned int irq_ch;
839cb99e8f7483 Khalid Aziz 2013-05-16 795 unsigned long io_addr;
^1da177e4c3f41 Linus Torvalds 2005-04-16 796
839cb99e8f7483 Khalid Aziz 2013-05-16 797 if (pci_enable_device(pci_device))
^1da177e4c3f41 Linus Torvalds 2005-04-16 798 continue;
^1da177e4c3f41 Linus Torvalds 2005-04-16 799
17a361b20a0f90 Christoph Hellwig 2018-10-10 800 if
(dma_set_mask(&pci_device->dev, DMA_BIT_MASK(32)))
^1da177e4c3f41 Linus Torvalds 2005-04-16 801 continue;
^1da177e4c3f41 Linus Torvalds 2005-04-16 802
839cb99e8f7483 Khalid Aziz 2013-05-16 803 bus = pci_device->bus->number;
839cb99e8f7483 Khalid Aziz 2013-05-16 804 device = pci_device->devfn >>
3;
839cb99e8f7483 Khalid Aziz 2013-05-16 805 irq_ch = pci_device->irq;
839cb99e8f7483 Khalid Aziz 2013-05-16 806 io_addr =
pci_resource_start(pci_device, 0);
^1da177e4c3f41 Linus Torvalds 2005-04-16 807
839cb99e8f7483 Khalid Aziz 2013-05-16 808 if (io_addr == 0 || irq_ch == 0)
^1da177e4c3f41 Linus Torvalds 2005-04-16 809 continue;
839cb99e8f7483 Khalid Aziz 2013-05-16 810 for (i = 0; i <
blogic_probeinfo_count; i++) {
839cb99e8f7483 Khalid Aziz 2013-05-16 811 struct blogic_probeinfo *probeinfo =
839cb99e8f7483 Khalid Aziz 2013-05-16 812 &blogic_probeinfo_list[i];
839cb99e8f7483 Khalid Aziz 2013-05-16 813 if (probeinfo->io_addr == io_addr
&&
839cb99e8f7483 Khalid Aziz 2013-05-16 814 probeinfo->adapter_type ==
BLOGIC_MULTIMASTER) {
839cb99e8f7483 Khalid Aziz 2013-05-16 815 probeinfo->adapter_bus_type =
BLOGIC_PCI_BUS;
839cb99e8f7483 Khalid Aziz 2013-05-16 816 probeinfo->pci_addr = 0;
839cb99e8f7483 Khalid Aziz 2013-05-16 817 probeinfo->bus = bus;
839cb99e8f7483 Khalid Aziz 2013-05-16 818 probeinfo->dev = device;
839cb99e8f7483 Khalid Aziz 2013-05-16 819 probeinfo->irq_ch = irq_ch;
839cb99e8f7483 Khalid Aziz 2013-05-16 820 probeinfo->pci_device =
pci_dev_get(pci_device);
^1da177e4c3f41 Linus Torvalds 2005-04-16 821 break;
^1da177e4c3f41 Linus Torvalds 2005-04-16 822 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 823 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 824 }
839cb99e8f7483 Khalid Aziz 2013-05-16 825 return mmcount;
^1da177e4c3f41 Linus Torvalds 2005-04-16 826 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 827
:::::: The code at line 616 was first introduced by commit
:::::: 839cb99e8f748391059d10388c8aea48a88c142c [SCSI] BusLogic: Fix style issues
:::::: TO: Khalid Aziz <khalid.aziz(a)oracle.com>
:::::: CC: James Bottomley <JBottomley(a)Parallels.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org