qemu-7.0.0-rc2/migration/ram.c:1292: possible wrong operator ?
I just tried to compile 7.0.0-rc2 with new clang-14. It said:
migration/ram.c:1292:31: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
Source code is
qemu_put_buffer_async(rs->f, buf, TARGET_PAGE_SIZE,
migrate_release_ram() &
migration_in_postcopy());
Maybe better code
qemu_put_buffer_async(rs->f, buf, TARGET_PAGE_SIZE,
migrate_release_ram() &&
migration_in_postcopy());