Skip to content
Snippets Groups Projects
Select Git revision
  • 7f14f30a6d6c80f9fbe3fd8d5b0c294575e3094e
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
15 results

fs

user avatar
Marek Vasut authored
The mkcksum() function now takes one parameter, the pointer to
11-byte wide character array, which it then operates on.

Currently, the function is wrongly passed (dir_entry)->name, which
is only 8-byte wide character array. Though by further inspecting
the dir_entry structure, it can be noticed that the name[8] entry
is immediatelly followed by ext[3] entry. Thus, name[8] and ext[3]
in the dir_entry structure actually work as this 11-byte wide array
since they're placed right next to each other by current compiler
behavior.

Depending on this is obviously wrong, thus fix this by correctly
passing both (dir_entry)->name and (dir_entry)->ext to the mkcksum()
function and adjust the function appropriately.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Tom Rini <trini@ti.com>
ff04f6d1
History
Name Last commit Last update
..
cramfs
ext4
fat
fdos
jffs2
reiserfs
ubifs
yaffs2
zfs
Makefile