Re: [PATCH v6 14/37] cxlflash: Fix location of setting resid

2015-10-23 Thread Tomas Henzl
On 21.10.2015 22:13, Matthew R. Ochs wrote: > The resid is incorrectly set which can lead to unnecessary retry > attempts by the stack. This is due to resid _always_ being set > using a value returned from the adapter. Instead, the value > should only be interpreted and set when in an underrun scen

[PATCH v6 14/37] cxlflash: Fix location of setting resid

2015-10-21 Thread Matthew R. Ochs
The resid is incorrectly set which can lead to unnecessary retry attempts by the stack. This is due to resid _always_ being set using a value returned from the adapter. Instead, the value should only be interpreted and set when in an underrun scenario. Signed-off-by: Matthew R. Ochs Signed-off-by