mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
drm/rockchip: vop2: Fix smatch warning
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:3499 vop2_plane_create_name_property() warn: should '1 << (win->win_id)' be a 64 bit type? Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: If4d46563519dabb18792c27bf4069f037de20879
This commit is contained in:
@@ -3496,7 +3496,7 @@ static int vop2_plane_create_name_property(struct vop2 *vop2, struct vop2_win *w
|
||||
{
|
||||
struct drm_prop_enum_list *props = vop2->plane_name_list;
|
||||
struct drm_property *prop;
|
||||
uint64_t bits = BIT(win->win_id);
|
||||
uint64_t bits = BIT_ULL(win->win_id);
|
||||
|
||||
prop = drm_property_create_bitmask(vop2->drm_dev,
|
||||
DRM_MODE_PROP_IMMUTABLE, "NAME",
|
||||
|
||||
Reference in New Issue
Block a user