Tag: 481aea5c59a57123b66d5850be1be79f9f230c0e

checkpatch: whine about ACCESS_ONCE

Author: Joe Perches <joe@perches.com> Add a test for use of ACCESS_ONCE that could be written using READ_ONCE or WRITE_ONCE. –fix it too if desired. The WRITE_ONCE fixes are less correct than the coccinelle script below as checkpatch cannot have a completely correct “expression” mechanism because checkpatch works on patches and not complete files. $ cat …

Continue reading