commit | 91cf42c657afcc613f215f8af2f8e78fc8d0ffa2 | [log] [tgz] |
---|---|---|
author | Fabio Baltieri <fabiobaltieri@google.com> | Wed Mar 05 17:29:37 2025 +0000 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Thu Mar 06 09:05:18 2025 +0000 |
tree | 7e0f4b706ea54ea7cab0ff09501e179d862b574d | |
parent | 24ae27801f14f6c064df097053dac992cddb7f3c [diff] |
drivers: flash: spi_nor: fix few printf format warnings again Looks like 9d5ebb3cbc3 introduced a new warning when building with runtime sfdp on 32 bit platforms. Fix it for good by just casting the operation to int and go back to use %u. Tested with: west build -p -b gd32f450z_eval samples/drivers/flash_shell \ -DCONFIG_SPI_NOR_SFDP_RUNTIME=y west build -p -b mpfs_icicle/polarfire/u54 samples/drivers/flash_shell Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>