Hello, I was still waiting for v2 from David Laight as he can put more specific explanation for the bad 3rd arg to clamp() and to add the Fixes header. David, let me know what should we do, I prefer
The fix is correct but the description above is wrong. When run max_avail is always larger than min so the result is correct. But the compiler does some constant propagation (for something that can't
We recently added some build time asserts to detect incorrect calls to clamp and it detected this bug which breaks the build. The variable in this clamp is "max_avail" and it should be the first argu