Re: [PATCH 2/2] Staging: VME: Ensure TSI148 link list descriptors are written big endian

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

 



On 22/03/12 13:48, Dan Carpenter wrote:
> On Thu, Mar 22, 2012 at 01:27:30PM +0000, Martyn Welch wrote:
>> The DMA functionality fails to work on little endian processors, such as
>> found on x86 based platforms. The DMA engine copies the link list
>> descriptors from memory into big endian registers. On little endian systems
>> this results in the values being byte swapped. This patch uses standard
>> kernel functionality to ensure that the descriptors are stored in big
>> endian format.
>>
>> Signed-off-by: Martyn Welch <martyn.welch@xxxxxx>
> 
> Looks good.  :)  Thanks for doing that.

No problem, now that I've been coerced into giving sparse a try I can see me
using it more regularly :-)

Martyn

-- 
Martyn Welch (Lead Software Engineer)  | Registered in England and Wales
GE Intelligent Platforms               | (3828642) at 100 Barbirolli Square
T +44(0)1327322748                     | Manchester, M2 3AB
E martyn.welch@xxxxxx                  | VAT:GB 927559189
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux