]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: cmd/mbr: pass correct buffer size to init_write_buffers
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 2 Nov 2024 15:41:30 +0000 (16:41 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 15 Nov 2024 00:14:06 +0000 (18:14 -0600)
commitd8c5bcbd224fddd983f0796886409ede880d11ac
tree9c93e6cda220c078ab3cc08b707ea337e64f8501
parentb891826067c2d51cdb0f46b3763642bf8484ebb8
test: cmd/mbr: pass correct buffer size to init_write_buffers

We want to completely initialize the mbr and embr buffers. This requires
passing the buffer size and not the size of a pointer to the buffer.

Addresses-Coverity-ID: 510454 Wrong sizeof argument
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
test/cmd/mbr.c