On Tue, 6 Aug 2024 at 15:59, Simon Glass wrote:
>
> The current implementation casts an address to a pointer. Make it more
> sandbox-friendly by using map_sysmem().
Isn't the code already using map_sysmem? All I see is some fixes for
unmapping it and a rename
>
> Rename the variable to 'ptr' sin
The current implementation casts an address to a pointer. Make it more
sandbox-friendly by using map_sysmem().
Rename the variable to 'ptr' since it is a pointer, not an address.
Signed-off-by: Simon Glass
---
(no changes since v1)
cmd/read.c | 10 ++
1 file changed, 6 insertions(+),
2 matches
Mail list logo