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: hexagon-buildonly-randconfig-r005-20220216
(
https://download.01.org/0day-ci/archive/20220216/202202161301.3AAqRD00-lk...)
compiler: clang version 15.0.0 (
https://github.com/llvm/llvm-project
0e628a783b935c70c80815db6c061ec84f884af5)
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=clang make.cross W=1 O=build_dir
ARCH=hexagon 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/hdmi/hdmi_phy_8996.c:9:
In file included from drivers/gpu/drm/msm/hdmi/hdmi.h:19:
> drivers/gpu/drm/msm/msm_drv.h:453:6: warning: no previous
prototype for function 'msm_dp_wide_bus_enable' [-Wmissing-prototypes]
bool msm_dp_wide_bus_enable(struct msm_dp *dp_display)
^
drivers/gpu/drm/msm/msm_drv.h:453:1: note: declare 'static' if the function is
not intended to be used outside of this translation unit
bool msm_dp_wide_bus_enable(struct msm_dp *dp_display)
^
static
1 warning generated.
--
In file included from drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c:9:
> drivers/gpu/drm/msm/msm_drv.h:453:6: warning: no previous
prototype for function 'msm_dp_wide_bus_enable' [-Wmissing-prototypes]
bool msm_dp_wide_bus_enable(struct msm_dp *dp_display)
^
drivers/gpu/drm/msm/msm_drv.h:453:1: note: declare 'static' if the function is
not intended to be used outside of this translation unit
bool msm_dp_wide_bus_enable(struct msm_dp *dp_display)
^
static
drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c:29:20: warning: unused function
'mdss_write' [-Wunused-function]
static inline void mdss_write(struct mdp5_mdss *mdp5_mdss, u32 reg, u32 data)
^
2 warnings generated.
--
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 function 'msm_dp_wide_bus_enable' [-Wmissing-prototypes]
bool msm_dp_wide_bus_enable(struct msm_dp *dp_display)
^
drivers/gpu/drm/msm/msm_drv.h:453:1: note: declare 'static' if the function is
not intended to be used outside of this translation unit
bool msm_dp_wide_bus_enable(struct msm_dp *dp_display)
^
static
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1155:26: warning: variable 'priv'
set but not used [-Wunused-but-set-variable]
struct msm_drm_private *priv;
^
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1192:26: warning: variable 'priv'
set but not used [-Wunused-but-set-variable]
struct msm_drm_private *priv;
^
3 warnings generated.
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