All of lore.kernel.org
 help / color / mirror / Atom feed
* [freescale-fslc:5.10-2.1.x-imx 5943/15242] drivers/staging/media/imx/hdmirx/cdns-hdmirx.c:1149: warning: "HOTPLUG_DEBOUNCE_MS" redefined
@ 2021-11-14 22:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-14 22:29 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3860 bytes --]

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/917ccba3733c36d1d777cf58bf44081c4148fcb8
        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@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@nxp.com>
:::::: CC: Sandor Yu <Sandor.yu@nxp.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 69046 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-14 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-14 22:29 [freescale-fslc:5.10-2.1.x-imx 5943/15242] drivers/staging/media/imx/hdmirx/cdns-hdmirx.c:1149: warning: "HOTPLUG_DEBOUNCE_MS" redefined kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.