diff options
| author | Andre Przywara <[email protected]> | 2020-07-06 01:40:40 +0100 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2020-10-21 23:44:27 +0530 |
| commit | 8c274ec0924e81f60f154a17465f48dccbae3639 (patch) | |
| tree | 36b36ce242d4c0bdfab84ac997790950817dbfe8 /scripts | |
| parent | eaeadb50ea4d65e6fdbde7224b089dca6a41ff1e (diff) | |
net: sun8i_emac: Wrap and simplify cache maintenance operations
To meet the current alignment requirements for our cache maintenance
functions, we were explicitly aligning the *arguments* to those calls.
This is not only ugly to read, but also wrong, as we need to make sure
we are not accidentally stepping on other data.
Provide wrapper functions for the common case of cleaning or
invalidating a descriptor, to make the cache maintenance calls more
readable. This fixes a good deal of the problematic calls.
Signed-off-by: Andre Przywara <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Tested-by: Amit Singh Tomar <[email protected]> # Pine64+
Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
