Re: [PATCH] mmc: block: fix packed command header endianness

2016-07-18 Thread Ulf Hansson
+ stable On 14 July 2016 at 00:05, Taras Kondratiuk wrote: > The code that fills packed command header assumes that CPU runs in > little-endian mode. Hence the header is malformed in big-endian mode > and causes MMC data transfer errors: > > [ 563.200828] mmcblk0: error -110 transferring data, s

[PATCH] mmc: block: fix packed command header endianness

2016-07-13 Thread Taras Kondratiuk
The code that fills packed command header assumes that CPU runs in little-endian mode. Hence the header is malformed in big-endian mode and causes MMC data transfer errors: [ 563.200828] mmcblk0: error -110 transferring data, sector 2048, nr 8, cmd response 0x900, card status 0xc40 [ 563.219647