Skip to content

Fix incorrect integer->float conversion caught by clang

Markus Armbruster qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 9 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2migration: Fix incorrect integer->float conversion caught by clangmigration/migration.c+1 -27 replies
2/2util/cutils: Fix incorrect integer->float conversion caught by clangutil/cutils.c+5 -32 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMarkus ArmbrusterRichard HendersonJuan QuintelaPhilippe Mathieu-Daudé
1/2R-b R-b R-b R-b
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/2] Fix incorrect integer->float conversion caught by clang

Fangrui Song's "[PATCH v2] Fix incorrect integer->float conversions caught by clang -Wimplicit-int-float-conversion" doesn't apply with git-am, and it mixes a bug fix, which should be considered for 4.2, with a cleanup, which should go into 5.0. I took the liberty to respin, hope that's alright.

I propose the migration maintainers pick up PATCH 1 for 5.0.

I can submit PATCH 2 for 4.2-rc3.

Fangrui Song (2):
migration: Fix incorrect integer->float conversion caught by clang util/cutils: Fix incorrect integer->float conversion caught by clang

 migration/migration.c | 3 +--
 util/cutils.c         | 8 +++++---
 2 files changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
2.21.0