Skip to content
Commit 5312838d authored by Mario Six's avatar Mario Six Committed by Stefan Roese
Browse files

cfi_flash: Use u8 pointers instead of void pointers



According to the C standard, pointer arithmetic for pointers of type
void is undefined behavior (the assumption that they're 8-bit wide is a
GCC-specific assumption). In the interest of keeping the code
standards-compliant, and also better communicate intent, switch all
void* variables where pointer arithmetic is used to u8* variables.

Signed-off-by: default avatarMario Six <mario.six@gdsys.cc>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent d3525b6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment