lkml.org 
[lkml]   [2009]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: hpsa: SCSI driver for HP Smart Array controllers
crap 

> -----Original Message-----
> From: Stephen Cameron [mailto:smcameron@yahoo.com]
> Sent: Friday, February 27, 2009 8:59 PM
> To: linux-kernel@vger.kernel.org
> Cc: scameron@beardog.cca.cpqcorp.net; Miller, Mike (OS Dev)
> Subject: Re: hpsa: SCSI driver for HP Smart Array controllers
>
>
>
> I see we botched this in hpsa_pci_init() (one of the last
> things we changed):
>
> + if (prod_index == ARRAY_SIZE(products)) {
> + prod_index--;
> + if (subsystem_vendor_id == !PCI_VENDOR_ID_HP ||
> + !allow_unknown_smartarray) {
> + printk(KERN_WARNING "hpsa: Sorry, I don't "
> + "know how to access the Smart "
> + "Array controller %08lx\n",
>
>
> That 2nd if should have been,
>
> if (subsystem_vendor_id != PCI_VENDOR_ID_HP ||
>
> -- steve
>
>
>
>

\
 
 \ /
  Last update: 2009-03-02 16:49    [W:0.077 / U:1.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site