lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 20 Nov 2007 12:32:13 +0000
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	trenn@...e.de
Cc:	linux-kernel <linux-kernel@...r.kernel.org>,
	Bjorn Helgaas <bjorn.helgaas@...com>,
	"Li, Shaohua" <shaohua.li@...el.com>,
	"yakui.zhao" <yakui.zhao@...el.com>,
	Rene Herman <rene.herman@...access.nl>,
	akpm <akpm@...ux-foundation.org>
Subject: Re: [PATCH 1/3] PNP cleanups - Make use of
 pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible

>  #define pnp_irq(dev,bar)	 ((dev)->res.irq_resource[(bar)].start)
> +#define pnp_irq_start(dev,bar)	 ((dev)->res.irq_resource[(bar)].start)
> +#define pnp_irq_end(dev,bar)	 ((dev)->res.irq_resource[(bar)].end)

NAK as discussed earlier.

>  #define pnp_irq_flags(dev,bar)	 ((dev)->res.irq_resource[(bar)].flags)
>  #define pnp_irq_valid(dev,bar) \
>  	((pnp_irq_flags((dev),(bar)) & (IORESOURCE_IRQ | IORESOURCE_UNSET)) \
>  		== IORESOURCE_IRQ)
>  
>  #define pnp_dma(dev,bar)	 ((dev)->res.dma_resource[(bar)].start)
> +#define pnp_dma_start(dev,bar)	 ((dev)->res.dma_resource[(bar)].start)
> +#define pnp_dma_end(dev,bar)	 ((dev)->res.dma_resource[(bar)].end)

Ditto DMA is not range based.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ