Commit dd93d089 authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by james toy

Fix hpsa_allow_any test for vendor ID.

Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
Cc: Mike Miller <mikem@beardog.cce.hp.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 16530091
......@@ -3080,7 +3080,7 @@ static int hpsa_pci_init(struct ctlr_info *h, struct pci_dev *pdev)
if (prod_index == ARRAY_SIZE(products)) {
prod_index--;
if (subsystem_vendor_id == !PCI_VENDOR_ID_HP ||
if (subsystem_vendor_id != PCI_VENDOR_ID_HP ||
!hpsa_allow_any) {
dev_warn(&pdev->dev, "unrecognized board ID:"
" 0x%08lx, ignoring.\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment