Re: [PATCH v5 2/3] qemu-ga: Optimize var declaration and definition

2024-11-06 Thread Konstantin Kostiuk
Reviewed-by: Konstantin Kostiuk On Wed, Nov 6, 2024 at 3:36 PM Daniel P. Berrangé wrote: > On Wed, Nov 06, 2024 at 04:41:33PM +0800, Dehan Meng wrote: > > Variable declarations moved to the beginning of blocks > > Followed the coding style of using snake_case for variable names. > > Proper init

Re: [PATCH v5 2/3] qemu-ga: Optimize var declaration and definition

2024-11-06 Thread Daniel P . Berrangé
On Wed, Nov 06, 2024 at 04:41:33PM +0800, Dehan Meng wrote: > Variable declarations moved to the beginning of blocks > Followed the coding style of using snake_case for variable names. > Proper initialization of param 'size_t n' to '0' for > > Signed-off-by: Dehan Meng > --- > qga/commands-linux

[PATCH v5 2/3] qemu-ga: Optimize var declaration and definition

2024-11-06 Thread Dehan Meng
Variable declarations moved to the beginning of blocks Followed the coding style of using snake_case for variable names. Proper initialization of param 'size_t n' to '0' for Signed-off-by: Dehan Meng --- qga/commands-linux.c | 43 +++ 1 file changed, 19 in