u-boot/common
Pali Rohár eebcdb34d0 malloc_simple: Remove usage of unsupported %zx format string
Replace %zx by %lx and cast size_t to ulong.

U-Boot currently prints garbage debug output:
size=x, ptr=18, limit=18: 4002a000

With this change it prints correct debug data:
size=18, ptr=18, limit=2000: 4002a000

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-02-11 09:00:47 -05:00
..
eeprom
init bootstage: Add SPL support 2021-10-31 12:26:44 -06:00
spl spl: ymodem: Fix buffer overflow during Image copy 2022-02-03 12:15:33 -05:00
autoboot.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
avb_verify.c avb: Fix error when partition not found 2021-03-17 12:50:19 -04:00
bloblist.c bloblist: Update to use conditional value 2022-02-08 23:07:59 -05:00
board_f.c bloblist: Rename the SPL tag 2022-01-13 09:13:41 -07:00
board_info.c board-info: Call sysinfo_detect() before sysinfo_get_str() 2021-07-14 16:48:00 -04:00
board_r.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
bootstage.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
bouncebuf.c
cli.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
cli_hush.c cli: slighly more clear error messages 2021-05-17 17:06:42 -04:00
cli_readline.c
cli_simple.c
command.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
console.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
cros_ec.c
ddr_spd.c
dfu.c
dlmalloc.c malloc: add SPDX license identifiers 2021-06-23 08:45:03 -04:00
dlmalloc.src
edid.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
exports.c
fdt_simplefb.c common: add fdt_simplefb_enable_and_mem_rsv function 2021-11-30 16:43:28 +01:00
fdt_support.c common: fdt_support: add support for "partitions" subnode to fdt_fixup_mtdparts() 2022-02-11 09:00:47 -05:00
flash.c mtd: cfi: introduce CFI_FLASH_BANKS 2022-01-21 14:01:35 -05:00
hash.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
hwconfig.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
iomux.c IOMUX: Fix buffer overflow in iomux_replace_device() 2021-04-27 08:05:30 -04:00
iotrace.c
kallsyms.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
Kconfig bloblist: Refactor Kconfig to support alloc or fixed 2022-01-13 09:13:41 -07:00
kgdb.c common: board_r: drop initr_kgdb wrapper 2022-01-18 08:31:02 -05:00
kgdb_stubs.c
lcd.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
lcd_console.c WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
lcd_console_rotation.c
log.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
log_console.c log: Allow padding of the function name 2021-07-21 10:27:35 -06:00
log_syslog.c
main.c version: Move version_string[] from version.h to version_string.h 2021-09-17 12:10:44 -04:00
Makefile common: remove bedbug debugger support 2022-01-18 08:31:02 -05:00
malloc_simple.c malloc_simple: Remove usage of unsupported %zx format string 2022-02-11 09:00:47 -05:00
memsize.c
menu.c
miiphyutil.c
qfw.c x86: qemu: move QFW to its own uclass 2021-04-12 17:44:55 -04:00
s_record.c
scp03.c common: SCP03 control (enable and provision of keys) 2021-03-13 13:14:52 -05:00
splash.c video: Convert CONFIG_VIDEO_LOGO to Kconfig 2021-12-26 23:24:46 +01:00
splash_source.c video: Support virtio devices with the splash screen 2021-12-26 23:33:24 +01:00
stackprot.c Add support for stack-protector 2021-04-20 07:31:12 -04:00
stdio.c usb: gadget: Add CDC ACM function 2022-01-26 23:23:17 +01:00
system_map.c
update.c mtd: cfi: introduce CFI_FLASH_BANKS 2022-01-21 14:01:35 -05:00
usb.c
usb_hub.c usb: hub: Fix usb_get_port_status() for big-endian platforms 2021-04-06 16:38:57 +02:00
usb_kbd.c console: usb: kbd: Limit poll frequency to improve performance 2022-02-11 00:03:48 +01:00
usb_storage.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
xyzModem.c xyz-modem: Allow to cancel transfer also by CTRL+C 2021-09-03 14:32:41 -04:00