Re: [U-Boot] [PATCH] cmd: usb_mass_storage: add protection for block_dev

2018-09-21 Thread Marek Vasut
On 09/21/2018 04:01 PM, Patrick DELAUNAY wrote: > Hi Marek and Lucaz > > I have found this old patch: See > https://lists.denx.de/pipermail/u-boot/2017-October/309716.html > > On 10/18/2017 10:22 PM, Marek Vasut-3 wrote: > >> On 10/18/2017 06:27 PM, Tom Rini wrote: >>> On Wed, Oct 18, 2017

Re: [U-Boot] [PATCH] cmd: usb_mass_storage: add protection for block_dev

2018-09-21 Thread Patrick DELAUNAY
Hi Marek and Lucaz I have found this old patch: See https://lists.denx.de/pipermail/u-boot/2017-October/309716.html On 10/18/2017 10:22 PM, Marek Vasut-3 wrote: >On 10/18/2017 06:27 PM, Tom Rini wrote: >> On Wed, Oct 18, 2017 at 04:03:21PM +0200, Patrick Delaunay wrote: >> >>> solve data

Re: [U-Boot] [PATCH] cmd: usb_mass_storage: add protection for block_dev

2017-10-18 Thread Marek Vasut
On 10/18/2017 06:27 PM, Tom Rini wrote: > On Wed, Oct 18, 2017 at 04:03:21PM +0200, Patrick Delaunay wrote: > >> solve data abort for the command "ums 0 ubi 0" >> because result of case blk_get_device_part_str() result is OK >> but with block_dev = 0 when CONFIG_CMD_UBIFS is activate and >> ubi

Re: [U-Boot] [PATCH] cmd: usb_mass_storage: add protection for block_dev

2017-10-18 Thread Tom Rini
On Wed, Oct 18, 2017 at 04:03:21PM +0200, Patrick Delaunay wrote: > solve data abort for the command "ums 0 ubi 0" > because result of case blk_get_device_part_str() result is OK > but with block_dev = 0 when CONFIG_CMD_UBIFS is activate and > ubi volume is mounted > > Signed-off-by: Patrick

[U-Boot] [PATCH] cmd: usb_mass_storage: add protection for block_dev

2017-10-18 Thread Patrick Delaunay
solve data abort for the command "ums 0 ubi 0" because result of case blk_get_device_part_str() result is OK but with block_dev = 0 when CONFIG_CMD_UBIFS is activate and ubi volume is mounted Signed-off-by: Patrick Delaunay --- cmd/usb_mass_storage.c | 2 +- 1 file