lkml.org 
[lkml]   [2019]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drm/mediatek: add dsi module reset driver
Hi Jitao,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.1 next-20190517]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Jitao-Shi/drm-mediatek-add-dsi-module-reset-driver/20190519-214457
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=arm64

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

In file included from drivers/gpu//drm/mediatek/mtk_dsi.c:29:0:
drivers/gpu//drm/mediatek/mtk_dsi.c: In function 'mtk_dsi_reset_all':
>> drivers/gpu//drm/mediatek/mtk_dsi.c:250:27: warning: large integer implicitly truncated to unsigned type [-Woverflow]
MMSYS_SW_RST_DSI_B, ~MMSYS_SW_RST_DSI_B);
^
include/linux/regmap.h:77:42: note: in definition of macro 'regmap_update_bits'
regmap_update_bits_base(map, reg, mask, val, NULL, false, false)
^~~

vim +250 drivers/gpu//drm/mediatek/mtk_dsi.c

246
247 static void mtk_dsi_reset_all(struct mtk_dsi *dsi)
248 {
249 regmap_update_bits(dsi->mmsys_sw_rst_b, dsi->sw_rst_b,
> 250 MMSYS_SW_RST_DSI_B, ~MMSYS_SW_RST_DSI_B);
251 usleep_range(1000, 1100);
252
253 regmap_update_bits(dsi->mmsys_sw_rst_b, dsi->sw_rst_b,
254 MMSYS_SW_RST_DSI_B, MMSYS_SW_RST_DSI_B);
255 }
256

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2019-05-19 19:50    [W:0.035 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site