[parisc-linux] error?

Naresh Kumar knaresh at india.hp.com
Tue Jan 27 02:46:16 MST 2004


Hi,
I noticed in the function 'linux-2.6/drivers/parisc/lba_pci.c:
lba_pat_resources( )' the following lines:

---------------------------------------------------------------
  case PAT_GMMIO:

   r = &(lba_dev->hba.gmmio_space);
   r->name   = "LBA GMMIO";
   r->start  = p->start;
   r->end    = p->end;
   r->flags  = IORESOURCE_MEM;
   r->parent = r->sibling = r->child = NULL;
   break;
   lba_dev->gmmio_base = p->start;
   break;

  case PAT_NPIOP:
    printk(KERN_WARNING MODULE_NAME
    " range[%d] : ignoring NPIOP (0x%lx)\n",
    i, p->start);
   break;
-------------------------------------------------------------------

Please note the extra lines after the 'break;'. The version of
'lba_pci.c' is 1.7. Seems to have happened due to oversight.

Thanks,
Naresh.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20040127/5a2e8144/attachment-0001.html


More information about the parisc-linux mailing list