Files
linux/include/linux
Jason Gunthorpe 0c66847793 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 <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
[kees: tweaked comments and commit log, dropped unneeded assignment]
Signed-off-by: Kees Cook <keescook@chromium.org>
2018-08-08 09:47:26 -06:00
..
2018-05-25 18:23:56 +02:00
2018-05-23 14:01:03 +02:00
2018-06-05 10:48:09 -04:00
2018-06-07 14:23:08 +01:00
2018-06-07 17:34:35 -07:00
2018-05-26 09:16:44 +02:00
2018-06-15 18:10:01 -03:00
2018-06-14 17:01:45 +02:00
2018-05-28 17:41:02 +02:00
2018-06-15 18:10:01 -03:00
2018-06-01 07:38:16 -06:00
2018-06-15 18:10:01 -03:00
2018-06-07 17:34:37 -07:00
2018-05-22 13:42:16 +02:00
2018-06-18 11:22:54 -06:00
2018-06-05 08:50:16 -04:00
2018-06-15 07:55:25 +09:00
2018-06-07 17:34:35 -07:00
2018-06-07 17:34:37 -07:00
2018-06-12 16:19:22 -07:00
2018-06-07 17:34:39 -07:00
2018-06-01 14:37:35 +02:00
2018-06-07 17:34:36 -07:00
2018-06-06 16:10:45 -05:00
2018-06-07 17:34:35 -07:00
2018-05-31 00:13:56 +08:00
2018-06-04 17:28:20 -04:00
2018-06-07 17:34:35 -07:00
2018-06-07 17:34:37 -07:00
2018-05-18 11:40:27 -04:00
2018-05-19 13:57:31 +02:00
2018-05-19 13:57:31 +02:00