Re: [BUG -next] in pcmcia: use struct resource for PCMCIA devices, part 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-08-03 at 08:12 +0200, Dominik Brodowski wrote:
> Hey,
> 
> On Tue, Aug 03, 2010 at 01:53:21AM +0200, Christoph Fritz wrote:
> > drivers/pcmcia/ds.c
> >   555         for (i = 0; i < (MAX_IO_WIN + MAX_WIN); i++) {                                                                             
> >   556             c->io[i].name = p_dev->devname;                                                                                        
> > 
> > with 'io' only defined to MAX_IO_WIN
> > 
> > drivers/pcmcia/cs_internal.h
> >   42     struct resource io[MAX_IO_WIN]; /* io ports */                                                                        
> 
> Yes, this is ugly (and will be fixed right now), but it isn't really a bug,
> for we want c->mem[i].name to be set too, and c->mem[] follows immediately
> c->io[] and is sufficientyly large.

ah I see ;-)

 thanks,
   chf


--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux