Hi Sandor,
FYI, the error/warning still remains.
tree:
https://github.com/Freescale/linux-fslc 5.10-2.1.x-imx
head: 3b81a70be1099d44fdafaa6766bf75a2bd9e297e
commit: 917ccba3733c36d1d777cf58bf44081c4148fcb8 [5943/15242] LF-3322: drm: cdns_mhdp:
change HDMI hotplug debounce time to 50ms
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-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/Freescale/linux-fslc/commit/917ccba3733c36d1d777cf58bf...
git remote add freescale-fslc
https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc 5.10-2.1.x-imx
git checkout 917ccba3733c36d1d777cf58bf44081c4148fcb8
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=sparc SHELL=/bin/bash drivers/net/ drivers/pwm/ drivers/soc/imx/
drivers/staging/fsl_qbman/ drivers/staging/media/imx/ drivers/usb/chipidea/
drivers/video/fbdev/mxc/
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/staging/media/imx/hdmirx/cdns-hdmirx.c: In function 'tmdsmon_fn':
drivers/staging/media/imx/hdmirx/cdns-hdmirx.c:907:58: warning: variable
'events' set but not used [-Wunused-but-set-variable]
907 | uint32_t events;
| ^~~~~~
drivers/staging/media/imx/hdmirx/cdns-hdmirx.c: At top level:
> drivers/staging/media/imx/hdmirx/cdns-hdmirx.c:1149: warning:
"HOTPLUG_DEBOUNCE_MS" redefined
1149 | #define HOTPLUG_DEBOUNCE_MS
200
|
In file included from drivers/staging/media/imx/hdmirx/cdns-mhdp-hdmirx.h:32,
from drivers/staging/media/imx/hdmirx/cdns-hdmirx-phy.h:15,
from drivers/staging/media/imx/hdmirx/cdns-hdmirx.c:16:
include/drm/bridge/cdns-mhdp.h:526: note: this is the location of the previous
definition
526 | #define HOTPLUG_DEBOUNCE_MS 50
|
vim +/HOTPLUG_DEBOUNCE_MS +1149 drivers/staging/media/imx/hdmirx/cdns-hdmirx.c
d65a484d43ff3b Sandor Yu 2020-12-09 1148
d65a484d43ff3b Sandor Yu 2020-12-09 @1149 #define HOTPLUG_DEBOUNCE_MS 200
d65a484d43ff3b Sandor Yu 2020-12-09 1150 static irqreturn_t hdp5v_irq_thread(int irq,
void *data)
d65a484d43ff3b Sandor Yu 2020-12-09 1151 {
d65a484d43ff3b Sandor Yu 2020-12-09 1152 struct cdns_hdmirx_device *hdmirx = data;
d65a484d43ff3b Sandor Yu 2020-12-09 1153
d65a484d43ff3b Sandor Yu 2020-12-09 1154 dev_dbg(&hdmirx->pdev->dev, "%s
hello\n", __func__);
d65a484d43ff3b Sandor Yu 2020-12-09 1155
d65a484d43ff3b Sandor Yu 2020-12-09 1156 disable_irq_nosync(irq);
d65a484d43ff3b Sandor Yu 2020-12-09 1157
d65a484d43ff3b Sandor Yu 2020-12-09 1158 mod_delayed_work(system_wq,
&hdmirx->hpd5v_work,
d65a484d43ff3b Sandor Yu 2020-12-09 1159 msecs_to_jiffies(HOTPLUG_DEBOUNCE_MS));
d65a484d43ff3b Sandor Yu 2020-12-09 1160
d65a484d43ff3b Sandor Yu 2020-12-09 1161 return IRQ_HANDLED;
d65a484d43ff3b Sandor Yu 2020-12-09 1162 }
d65a484d43ff3b Sandor Yu 2020-12-09 1163
:::::: The code at line 1149 was first introduced by commit
:::::: d65a484d43ff3b50f62e6b7197421548f0630f83 MLK-24081-06: staging: media: imx: Add
hdmi rx driver
:::::: TO: Sandor Yu <Sandor.yu(a)nxp.com>
:::::: CC: Sandor Yu <Sandor.yu(a)nxp.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org