diff options
| author | Mario Six <[email protected]> | 2018-01-26 14:43:49 +0100 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2018-01-29 07:48:58 +0100 |
| commit | 5312838dd5b3959907d6c4f0ec3e04954210fafc (patch) | |
| tree | 6c026fbef677906913feba8eef94d995d8970fdc /scripts/checkpatch.pl | |
| parent | d3525b6bb0c39de537f0d2e79bb9ab9ad8fd8bf5 (diff) | |
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: Mario Six <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
