Hi Jami,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm/drm-next]
[also build test WARNING on next-20220113]
[cannot apply to v5.16]
[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/Jami-Kettunen/drm-msm-dpu1-Add-D...
base:
git://anongit.freedesktop.org/drm/drm drm-next
config: hexagon-randconfig-r013-20220113
(
https://download.01.org/0day-ci/archive/20220114/202201140501.XVy5Bpjg-lk...)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
d1021978b8e7e35dcc30201ca1731d64b5a602a8)
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/413561c584134b5ae119218d5bb7276ab...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Jami-Kettunen/drm-msm-dpu1-Add-DMA2-DMA3-clock-control-to-enum/20220113-235237
git checkout 413561c584134b5ae119218d5bb7276ab4e34daf
# 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/drm/msm/
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 >>):
> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:855:34: warning:
unused variable 'msm8998_dspp' [-Wunused-const-variable]
static const
struct dpu_dspp_cfg msm8998_dspp[] = {
^
1 warning generated.
vim +/msm8998_dspp +855 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
846
847 #define DSPP_BLK(_name, _id, _base, _mask, _sblk) \
848 {\
849 .name = _name, .id = _id, \
850 .base = _base, .len = 0x1800, \
851 .features = _mask, \
852 .sblk = _sblk \
853 }
854
855 static const struct dpu_dspp_cfg msm8998_dspp[] = {
856 DSPP_BLK("dspp_0", DSPP_0, 0x54000, DSPP_MSM8998_MASK,
857 &msm8998_dspp_sblk),
858 DSPP_BLK("dspp_1", DSPP_1, 0x56000, DSPP_MSM8998_MASK,
859 &msm8998_dspp_sblk),
860 };
861
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org