Hi Ryan, kernel test robot noticed the following build warnings: https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Ryan-Walklin/drm-sun4i-de2-de3-Change-CSC-argument/20240921-175532 base: https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git sunxi/for-next patch link: https://lore.kernel.org/r/20240921095153.213568-19-ryan%40testtoast.com patch subject: [PATCH v4 18/26] drm: sun4i: de3: Implement AFBC support config: microblaze-randconfig-r071-20240922 (https://download.01.org/0day-ci/archive/20240923/202409230531.ZMb79p9h-lkp@xxxxxxxxx/config) compiler: microblaze-linux-gcc (GCC) 14.1.0 If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> | Closes: https://lore.kernel.org/r/202409230531.ZMb79p9h-lkp@xxxxxxxxx/ smatch warnings: drivers/gpu/drm/sun4i/sun50i_afbc.c:236 sun50i_afbc_atomic_update() warn: right shifting more than type allows 16 vs 16 vim +236 drivers/gpu/drm/sun4i/sun50i_afbc.c 757b2767d5472c Jernej Skrabec 2024-09-21 230 757b2767d5472c Jernej Skrabec 2024-09-21 231 regmap_write(regs, SUN50I_FBD_OVL_BG_COLOR(base), 757b2767d5472c Jernej Skrabec 2024-09-21 232 SUN8I_MIXER_BLEND_COLOR_BLACK); 757b2767d5472c Jernej Skrabec 2024-09-21 233 regmap_write(regs, SUN50I_FBD_DEFAULT_COLOR0(base), def_color0); 757b2767d5472c Jernej Skrabec 2024-09-21 234 regmap_write(regs, SUN50I_FBD_DEFAULT_COLOR1(base), def_color1); 757b2767d5472c Jernej Skrabec 2024-09-21 235 757b2767d5472c Jernej Skrabec 2024-09-21 @236 val = SUN50I_FBD_CTL_GLB_ALPHA(state->alpha >> 16); ^^^^^^^^^^^^^^^^^^ This shifts it to zero 757b2767d5472c Jernej Skrabec 2024-09-21 237 val |= SUN50I_FBD_CTL_CLK_GATE; 757b2767d5472c Jernej Skrabec 2024-09-21 238 val |= (state->alpha == DRM_BLEND_ALPHA_OPAQUE) ? 757b2767d5472c Jernej Skrabec 2024-09-21 239 SUN50I_FBD_CTL_ALPHA_MODE_PIXEL : 757b2767d5472c Jernej Skrabec 2024-09-21 240 SUN50I_FBD_CTL_ALPHA_MODE_COMBINED; 757b2767d5472c Jernej Skrabec 2024-09-21 241 val |= SUN50I_FBD_CTL_FBD_EN; 757b2767d5472c Jernej Skrabec 2024-09-21 242 regmap_write(regs, SUN50I_FBD_CTL(base), val); 757b2767d5472c Jernej Skrabec 2024-09-21 243 } -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki