All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [freescale-fslc:5.10-2.1.x-imx 5943/14523] drivers/staging/media/imx/hdmirx/cdns-hdmirx.c:1149: warning: "HOTPLUG_DEBOUNCE_MS" redefined
Date: Tue, 28 Sep 2021 23:59:50 +0800	[thread overview]
Message-ID: <202109282344.OOJs4W4g-lkp@intel.com> (raw)

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

tree:   https://github.com/Freescale/linux-fslc 5.10-2.1.x-imx
head:   c317bdc1b553e455225d2469992d3ac3c3a301b3
commit: 917ccba3733c36d1d777cf58bf44081c4148fcb8 [5943/14523] 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 --]

                 reply	other threads:[~2021-09-28 15:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202109282344.OOJs4W4g-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.