Re: [patch 44/54] PNP: add pnp_new_resource() to find a new unset pnp_resource

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

 



On Saturday 26 April 2008 04:37:42 pm Rene Herman wrote:
> On 25-04-08 20:38, Bjorn Helgaas wrote:
> 
> > +	switch (type) {
> > +	case IORESOURCE_IO:
> > +		for (i = 0; i < PNP_MAX_PORT; i++) {
> > +			pnp_res = &dev->res->port[i];
> > +			res = &pnp_res->res;
> > +			if (res->flags & IORESOURCE_UNSET)
> > +				return pnp_res;
> 
> Again possible users of pnp_resource_valid().

Done; I also converted to use pnp_get_pnp_resource().
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux