overflow: Use POD in check_shl_overflow()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 Feb 2024 20:41:31 +0000 (22:41 +0200)
committerKees Cook <keescook@chromium.org>
Thu, 29 Feb 2024 21:38:03 +0000 (13:38 -0800)
commitc5e6d3d85efa7451590edd94725b4b280e2fd8a3
treed267803d5d4dc531786a6759cd3de54e04a61d79
parentc2efa5387c2676815ebbb6a954bf72fef2609709
overflow: Use POD in check_shl_overflow()

The check_shl_overflow() uses u64 type that is defined in types.h.
Instead of including that header, just switch to use POD type
directly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20240228204919.3680786-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Kees Cook <keescook@chromium.org>
include/linux/overflow.h