Re: [PATCH rdma-next v4 0/3] overflow.h: Add left-shift helper

2018-08-08 Thread Jason Gunthorpe
On Wed, Aug 01, 2018 at 02:25:38PM -0700, Kees Cook wrote: > This adds the left-shift overflow helper, selftests, and first usage. > > -Kees > > v4: > - actually fix docs typo > - rename to check_shl_overflow() > v3: > - add even more test cases (type mismatches, more signed overflows). > - fix d

[PATCH rdma-next v4 0/3] overflow.h: Add left-shift helper

2018-08-01 Thread Kees Cook
This adds the left-shift overflow helper, selftests, and first usage. -Kees v4: - actually fix docs typo - rename to check_shl_overflow() v3: - add even more test cases (type mismatches, more signed overflows). - fix documentation typo on argument name. v2: - swap out selftests with framework fro