mtd-utils: improve compatibility with klibc
Status from this message: Applied to mtd-utils.git
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyApplied
- v12 patches 1 replySuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mtd-utils: common.c: convert to integer arithmeticlib/ | +12 | 0 replies | |
| 2/2 | ubi-utils: ubiformat.c: convert to integer arithmeticubi-utils/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] mtd-utils: improve compatibility with klibc
Klibc does not support floating point calculations.
Here some fixes needed to build the ubi-utils against klibc for aarch64, without FPU.
These lines end up compiled with soft float for other arm targets w/out FPU thus this was discovered only cross-building for qemuarm64 using the flag
'-mgeneral-regs-only'.
Changes tested on armv5, same output is printed. v2 fixes compiler warnings (-Wformat) about printf().
Andrea Adami (2):
mtd-utils: common.c: convert to integer arithmetic
ubi-utils: ubiformat.c: convert to integer arithmetic
lib/common.c | 18 ++++++++++++------ ubi-utils/ubiformat.c | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-)
Signature · 1 line
2.7.4