Re: [PATCH] blk: avoid divide-by-zero with zero granularity

2021-01-12 Thread kernel test robot
Hi Li, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on block/for-next] [also build test WARNING on v5.11-rc3 next-20210112] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documente

Re: [PATCH] blk: avoid divide-by-zero with zero granularity

2021-01-12 Thread kernel test robot
Hi Li, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on block/for-next] [also build test WARNING on v5.11-rc3 next-20210112] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documente

Re: [PATCH] blk: avoid divide-by-zero with zero granularity

2021-01-12 Thread kernel test robot
Hi Li, Thank you for the patch! Yet something to improve: [auto build test ERROR on block/for-next] [also build test ERROR on v5.11-rc3 next-20210112] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in htt

Re: [PATCH] blk: avoid divide-by-zero with zero granularity

2021-01-12 Thread Feng Li
I'm sorry, ignore this one. Li Feng 于2021年1月12日周二 下午11:30写道: > > If the physical_block_size and io_min is less than a sector, the > 'granularity >> SECTOR_SHIFT' will be zero. > > Signed-off-by: Li Feng > --- > include/linux/blkdev.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/