Thread (200 messages) 200 messages, 9 authors, 2013-02-12
STALE4860d

[PATCH v2 05/27] arm: pci: add a align_resource hook

From: Russell King - ARM Linux <hidden>
Date: 2013-01-29 15:25:18
Also in: linux-pci

On Tue, Jan 29, 2013 at 04:23:37PM +0100, Thomas Petazzoni wrote:
Russell,

Thanks for your quick feedback!

On Tue, 29 Jan 2013 15:15:01 +0000, Russell King - ARM Linux wrote:
quoted
Given the description, I'd feel much happier with this if we specified
the alignment numerically rather than allowing "some random code" to do
something with the passed values.
So, you'd prefer to have two new members added in the hw_pci structure
to give the alignment requirements for I/O regions and memory regions?
Yep, otherwise we'll have yet more code to review rather than one
algorithm with a set of numbers...

I work on the principle that if something can be expressed numerically,
that's always better than expressing it with code.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help