]> git.dujemihanovic.xyz Git - u-boot.git/commit
read: Tidy up use of map_sysmem() in the read command
authorSimon Glass <sjg@chromium.org>
Sun, 1 Sep 2024 22:26:29 +0000 (16:26 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 18 Sep 2024 19:01:00 +0000 (13:01 -0600)
commit42f5ffb2396a32ccf819e0f43fd5050d6e2662ef
tree688abf8113824b9b753bdfba67e83968bfe5e662
parentcc6a1b690257b333c38a1d9bd20d861f6ce7faf1
read: Tidy up use of map_sysmem() in the read command

Rename the variable to 'ptr' since it is a pointer, not an address. Make
sure to unmap the pointer.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/read.c