Re: [PATCH 01/14] ubi: fastmap: Read PEB numbers more carefully

2018-06-20 Thread Boris Brezillon
On Wed, 13 Jun 2018 23:23:31 +0200 Richard Weinberger wrote: > PEB numbers can be used as indices, make sure that they > are within bounds. > > Signed-off-by: Richard Weinberger > --- > drivers/mtd/ubi/fastmap.c | 71 > ++- > 1 file changed, 58 inse

Re: [PATCH 01/14] ubi: fastmap: Read PEB numbers more carefully

2018-06-13 Thread Richard Weinberger
Am Donnerstag, 14. Juni 2018, 03:04:40 CEST schrieb kbuild test robot: > Hi Richard, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on mtd/master] > [also build test WARNING on v4.17 next-20180613] > [if your patch is applied to the wrong git tree, please drop u

Re: [PATCH 01/14] ubi: fastmap: Read PEB numbers more carefully

2018-06-13 Thread kbuild test robot
Hi Richard, I love your patch! Perhaps something to improve: [auto build test WARNING on mtd/master] [also build test WARNING on v4.17 next-20180613] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/comm

[PATCH 01/14] ubi: fastmap: Read PEB numbers more carefully

2018-06-13 Thread Richard Weinberger
PEB numbers can be used as indices, make sure that they are within bounds. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/fastmap.c | 71 ++- 1 file changed, 58 insertions(+), 13 deletions(-) diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd