Re: [dm-devel] [PATCH] dm: remove unneeded variable

2023-06-14 Thread Alasdair G Kergon
On Wed, Jun 14, 2023 at 11:12:19AM +0800, baomingtong...@208suo.com wrote: >在 2023-06-14 10:42,Alasdair G Kergon 写道: > > Did the patched code compile OK for you? >Yes! So what is the definition of DMEMIT that your compiler uses and why? Alasdair -- dm-devel mailing list dm-devel@r

Re: [dm-devel] [PATCH] dm: remove unneeded variable

2023-06-13 Thread Alasdair G Kergon
On Wed, Jun 14, 2023 at 10:10:33AM +0800, baomingtong...@208suo.com wrote: > fix the following coccicheck warning: > drivers/md/dm-snap-persistent.c:909:14-16: Unneeded variable: "sz". > - unsigned int sz = 0; > - return sz; > + return 0; Did the patched code compile OK for you? The semantic

Re: [dm-devel] [PATCH] dm: remove unneeded variable

2021-11-11 Thread kernel test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on device-mapper-dm/for-next] [also build test ERROR on v5.15 next-2021] [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

Re: [dm-devel] [PATCH] dm: remove unneeded variable 'sz'

2021-03-09 Thread kernel test robot
Hi Yang, Thank you for the patch! Yet something to improve: [auto build test ERROR on dm/for-next] [also build test ERROR on v5.12-rc2 next-20210309] [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 http

Re: [dm-devel] [PATCH] dm: remove unneeded variable 'sz'

2021-03-09 Thread kernel test robot
Hi Yang, Thank you for the patch! Yet something to improve: [auto build test ERROR on dm/for-next] [also build test ERROR on v5.12-rc2 next-20210309] [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 http