Re: [PATCH v10 2/9] overflow: Move and add few utility macros into overflow

2022-09-17 Thread kernel test robot
Hi Gwan-gyeong, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] [also build test WARNING on linus/master v6.0-rc5] [cannot apply to drm-intel/for-linux-next kees/for-next/hardening next-20220916] [If your patch is applied to the wrong git tree,

Re: [PATCH v10 2/9] overflow: Move and add few utility macros into overflow

2022-09-13 Thread Kees Cook
On Fri, Sep 09, 2022 at 07:59:06PM +0900, Gwan-gyeong Mun wrote: > It moves overflows_type utility macro into overflow header from i915_utils > header. The overflows_type can be used to catch the truncaion (overflow) > between different data types. And it adds check_assign() macro which > performs

[PATCH v10 2/9] overflow: Move and add few utility macros into overflow

2022-09-09 Thread Gwan-gyeong Mun
It moves overflows_type utility macro into overflow header from i915_utils header. The overflows_type can be used to catch the truncaion (overflow) between different data types. And it adds check_assign() macro which performs an assigning source value into destination pointer along with an overflow