Thread (5 messages) flat view 5 messages, 3 authors, 2006-11-20

Re: [PATCH 2/4] atl1: Header files for Attansic L1 driver

From: Jan Engelhardt <hidden>
Date: 2006-11-20 11:17:38
Also in: lkml

On Nov 20 2006 01:01, Chris Snook wrote:
Jan Engelhardt wrote:
quoted
quoted
+#define AT_READ_REG_ARRAY(a, reg, offset) ( \
+	readl(((a)->hw_addr + reg) + ((offset) << 2)))
Possibly similarly.
Yeah, we'll inline these as well.  Would you say that level of cosmetic
cleanliness is required for merging, or should we focus solely on the
functional issues for now?
Required? No I do not think so, there is worse code than this. (Don't
take that as an excuse to write bad code! :-)
It's just that it's easier to read if there are less parentheses.
These defines are a good example of border (define vs inline) cases.


	-`J'
-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help