[PATCH 0/2] Fix some coding issues

2022-11-19 Thread Jiang Jiacheng
*** BLURB HERE *** Jiang Jiacheng (2): qemu: convert the flags type to unsigned long coding-style: Use the same style in the same structure src/locking/lock_daemon.c | 12 ++-- src/logging/log_daemon.c | 12 ++-- src/qemu/qemu_migration.c | 4 ++-- src/remote/remote_daem

[PATCH 2/2] coding-style: Use the same style in the same structure

2022-11-19 Thread Jiang Jiacheng
Coding-style of members in the same structure should be unified. Signed-off-by: Jiang Jiacheng --- src/locking/lock_daemon.c | 12 ++-- src/logging/log_daemon.c | 12 ++-- src/remote/remote_daemon.c | 14 +++--- 3 files changed, 19 insertions(+), 19 deletions(-) diff

[PATCH 1/2] qemu: convert the flags type to unsigned long

2022-11-19 Thread Jiang Jiacheng
The flags type is unsigend long but passed as unsigend int when invoke 'qemuMigrationSrcNBDStorageCopy'. Modify it to prevent data truncation. Signed-off-by: Jiang Jiacheng --- src/qemu/qemu_migration.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_migrati