diff options
author | Jason Gunthorpe <[email protected]> | 2018-08-01 14:25:39 -0700 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2018-08-08 09:47:26 -0600 |
commit | 0c66847793d1982d1083dc6f7adad60fa265ce9c (patch) | |
tree | 47e7adc83361508e8826065f344453ee5216f704 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 58796e67d5d529e2010f6985fae7a5cef02f19a8 (diff) |
overflow.h: Add arithmetic shift helper
Add shift_overflow() helper to assist driver authors in ensuring that
shift operations don't cause overflows or other odd conditions.
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
[kees: tweaked comments and commit log, dropped unneeded assignment]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions