Re: [PATCH v3] fs/btrfs: Fix uninitialized variable

2021-04-20 Thread kernel test robot
Hi Khaled, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kdave/for-next] [also build test WARNING on v5.12-rc8 next-20210420] [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 docum

Re: [PATCH v3] fs/btrfs: Fix uninitialized variable

2021-04-20 Thread kernel test robot
Hi Khaled, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kdave/for-next] [also build test WARNING on v5.12-rc8 next-20210420] [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 docum

[PATCH v3] fs/btrfs: Fix uninitialized variable

2021-04-20 Thread Khaled ROMDHANI
As reported by the Coverity static analysis. The variable zone is not initialized which may causes a failed assertion. Addresses-Coverity: ("Uninitialized variables") Signed-off-by: Khaled ROMDHANI --- v3: catch default as an assertion failure as proposed by David Sterba. --- fs/btrfs/zoned.c |