]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Fixed the casting issue reported by sparse
authorKuoHsiang Chou <kuohsiang_chou@aspeedtech.com>
Thu, 23 Jun 2022 08:31:16 +0000 (16:31 +0800)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 24 Jun 2022 07:37:32 +0000 (09:37 +0200)
commit0ece5fc0eea9cdd49461c756128f1d6cd2bac76f
treeec14c412aaff4a31ee7d76a3ce78d9a0f7e4837c
parente3df298e023b69e9aeeace79173a1704148c51d2
drm/ast: Fixed the casting issue reported by sparse

V1:
1.Fixed sparse:cast truncates bits form constant value ()cast
  truncates bits from constant value (ffffffffffffff00 becomes 0)

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: KuoHsiang Chou <kuohsiang_chou@aspeedtech.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220623083116.35365-1-kuohsiang_chou@aspeedtech.com
drivers/gpu/drm/ast/ast_dp.c
drivers/gpu/drm/ast/ast_drv.h