![](https://secure.gravatar.com/avatar/9c98719f51a97f445a67e61f1d153b32.jpg?s=120&d=mm&r=g)
10 Jul
2019
10 Jul
'19
11:17 a.m.
On Tue, 2019-07-09 at 22:04 -0700, Joe Perches wrote:
These GENMASK uses are inverted argument order and the actual masks produced are incorrect. Fix them.
Add checkpatch tests to help avoid more misuses too.
Joe Perches (12): checkpatch: Add GENMASK tests
IMHO this doesn't make a lot of sense as a checkpatch test - just throw in a BUILD_BUG_ON()?
johannes