Hi Kuogee,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm/drm-next]
[also build test WARNING on drm-intel/for-linux-next drm-tip/drm-tip
drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next v5.17-rc4 next-20220215]
[cannot apply to airlied/drm-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Kuogee-Hsieh/drm-msm-dp-enable-w...
base:
git://anongit.freedesktop.org/drm/drm drm-next
config: nds32-randconfig-r001-20220216
(
https://download.01.org/0day-ci/archive/20220216/202202161305.kkDRPK62-lk...)
compiler: nds32le-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/0day-ci/linux/commit/294e6c4f98a10e815d8673f550f4470b0...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Kuogee-Hsieh/drm-msm-dp-enable-widebus-feature-base-on-chip-hardware-revision/20220216-052636
git checkout 294e6c4f98a10e815d8673f550f4470b0b71e34d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=nds32 SHELL=/bin/bash drivers/gpu/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/msm/msm_gpu.h:16,
from drivers/gpu/drm/msm/adreno/adreno_gpu.h:15,
from drivers/gpu/drm/msm/adreno/adreno_device.c:9:
> drivers/gpu/drm/msm/msm_drv.h:453:6: warning: no previous
prototype for 'msm_dp_wide_bus_enable' [-Wmissing-prototypes]
453 |
bool msm_dp_wide_bus_enable(struct msm_dp *dp_display)
| ^~~~~~~~~~~~~~~~~~~~~~
--
In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:17:
> drivers/gpu/drm/msm/msm_drv.h:453:6: warning: no previous
prototype for 'msm_dp_wide_bus_enable' [-Wmissing-prototypes]
453 |
bool msm_dp_wide_bus_enable(struct msm_dp *dp_display)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c: In function
'dpu_encoder_virt_enable':
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1155:33: warning: variable 'priv'
set but not used [-Wunused-but-set-variable]
1155 | struct msm_drm_private *priv;
| ^~~~
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c: In function
'dpu_encoder_virt_disable':
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1192:33: warning: variable 'priv'
set but not used [-Wunused-but-set-variable]
1192 | struct msm_drm_private *priv;
| ^~~~
--
In file included from drivers/gpu/drm/msm/msm_fence.c:9:
> drivers/gpu/drm/msm/msm_drv.h:453:6: warning: no previous
prototype for 'msm_dp_wide_bus_enable' [-Wmissing-prototypes]
453 |
bool msm_dp_wide_bus_enable(struct msm_dp *dp_display)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/msm/msm_fence.c: In function 'msm_fence_context_alloc':
drivers/gpu/drm/msm/msm_fence.c:24:9: warning: 'strncpy' specified bound 32
equals destination size [-Wstringop-truncation]
24 | strncpy(fctx->name, name, sizeof(fctx->name));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/msm_dp_wide_bus_enable +453 drivers/gpu/drm/msm/msm_drv.h
452
453 bool msm_dp_wide_bus_enable(struct msm_dp *dp_display)
454 {
455 return false;
456 }
457
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org