Thread (29 messages) flat view 29 messages, 4 authors, 2017-09-19

Re: [PATCH net-next 05/12] net: dsa: b53: Use a macro to define I/O operations

From: Vivien Didelot <hidden>
Date: 2017-09-18 22:16:33

Hi Florian,

Florian Fainelli [off-list ref] writes:
Instead of repeating the same pattern: acquire mutex, read/write, release
mutex, define a macro: b53_build_op() which takes the type (read|write), I/O
size, and value (scalar or pointer). This helps with fixing bugs that could
exit (e.g: missing barrier, lock etc.).

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help