Re: [U-Boot] [PATCH 3/4] mtd: Delete partitions attached to the device when a device is deleted

2018-11-19 Thread Heiko Schocher
Hello Boris, Am 19.11.2018 um 12:57 schrieb Boris Brezillon: On Mon, 19 Nov 2018 07:16:53 +0100 Heiko Schocher wrote: Hello Boris, Am 17.11.2018 um 10:19 schrieb Boris Brezillon: On Fri, 16 Nov 2018 15:40:25 +0100 Boris Brezillon wrote: If we don't do that, partitions might still be

Re: [U-Boot] [PATCH 3/4] mtd: Delete partitions attached to the device when a device is deleted

2018-11-19 Thread Boris Brezillon
On Mon, 19 Nov 2018 07:16:53 +0100 Heiko Schocher wrote: > Hello Boris, > > Am 17.11.2018 um 10:19 schrieb Boris Brezillon: > > On Fri, 16 Nov 2018 15:40:25 +0100 > > Boris Brezillon wrote: > > > >> If we don't do that, partitions might still be exposed while the > >> underlying device is

Re: [U-Boot] [PATCH 3/4] mtd: Delete partitions attached to the device when a device is deleted

2018-11-19 Thread Miquel Raynal
Hi Heiko, Heiko Schocher wrote on Mon, 19 Nov 2018 07:16:53 +0100: > Hello Boris, > > Am 17.11.2018 um 10:19 schrieb Boris Brezillon: > > On Fri, 16 Nov 2018 15:40:25 +0100 > > Boris Brezillon wrote: > > >> If we don't do that, partitions might still be exposed while the > >> underlying

Re: [U-Boot] [PATCH 3/4] mtd: Delete partitions attached to the device when a device is deleted

2018-11-18 Thread Heiko Schocher
Hello Boris, Am 17.11.2018 um 10:19 schrieb Boris Brezillon: On Fri, 16 Nov 2018 15:40:25 +0100 Boris Brezillon wrote: If we don't do that, partitions might still be exposed while the underlying device is gone. Fixes: 2a74930da57f ("mtd: mtdpart: implement proper partition handling")

Re: [U-Boot] [PATCH 3/4] mtd: Delete partitions attached to the device when a device is deleted

2018-11-17 Thread Boris Brezillon
On Fri, 16 Nov 2018 15:40:25 +0100 Boris Brezillon wrote: > If we don't do that, partitions might still be exposed while the > underlying device is gone. > > Fixes: 2a74930da57f ("mtd: mtdpart: implement proper partition handling") > Signed-off-by: Boris Brezillon > --- >

[U-Boot] [PATCH 3/4] mtd: Delete partitions attached to the device when a device is deleted

2018-11-16 Thread Boris Brezillon
If we don't do that, partitions might still be exposed while the underlying device is gone. Fixes: 2a74930da57f ("mtd: mtdpart: implement proper partition handling") Signed-off-by: Boris Brezillon --- drivers/mtd/mtdcore.c | 1 + include/linux/mtd/mtd.h | 14 ++ 2 files changed,