]> 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)
commit8ad8a8156d4523c883b680c267592bdc5c609a5d
treeec14c412aaff4a31ee7d76a3ce78d9a0f7e4837c
parent9c03f80972d133011f80b0e18724f47ab08e000e
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