login
Header Space

 
 

Re: [PATCH] lne390 and Jensen Alphas

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Carsten Jacobi <carsten@...>
Cc: Florian Fainelli <florian.fainelli@...>, <netdev@...>
Date: Sunday, April 13, 2008 - 6:11 pm

On Sun, Apr 13, 2008 at 11:06:46PM +0200, Carsten Jacobi wrote:

The last argument of __raw_writel() is void __iomem *, not unsigned long.
WTF is that cast doing that?  Besides, it looks like misspelled
		const __le32 *from = buf;
		...
		__raw_writel(get_unaligned(from), shmem);


Write in C, please.  This isn't - you might as well write something like
	shmem * 2 -= 4;
since result of cast is not an l-value.

Finally, how much of that actually depends on Jensen and how much is
actually "oh, on x86 we use rep movsl in memcpy_toio(), so it ends up
with 32bit accesses"?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] lne390 and Jensen Alphas, Carsten Jacobi, (Sat Mar 29, 10:48 am)
Re: [PATCH] lne390 and Jensen Alphas, Florian Fainelli, (Sat Mar 29, 2:32 pm)
Re: [PATCH] lne390 and Jensen Alphas, Carsten Jacobi, (Sun Apr 13, 5:06 pm)
Re: [PATCH] lne390 and Jensen Alphas, Al Viro, (Sun Apr 13, 6:11 pm)
Re: [PATCH] lne390 and Jensen Alphas, Carsten Jacobi, (Sun Apr 20, 8:54 am)
speck-geostationary