Re: [PATCH][next] drm/kmb: fix potential integer overflow on multiplication

2020-11-13 Thread kernel test robot
Hi Colin, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20201112] [cannot apply to linus/master v5.10-rc3 v5.10-rc2 v5.10-rc1 v5.10-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

Re: [PATCH][next] drm/kmb: fix potential integer overflow on multiplication

2020-11-13 Thread kernel test robot
Hi Colin, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20201112] [cannot apply to linus/master v5.10-rc3 v5.10-rc2 v5.10-rc1 v5.10-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

[PATCH][next] drm/kmb: fix potential integer overflow on multiplication

2020-11-13 Thread Colin King
From: Colin Ian King There is a potential integer overflow when multiplying various sized integers that are cast to u32 integers using u32 multiplication and then assigning the result to a u64. Fix this by casting MIPI_TX_BPP to a u64 to force the multiplication to use u64 math and hence avoid an