All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Joakim Zhang <qiangqing.zhang@nxp.com>
Cc: kbuild-all@lists.01.org, linux-can@vger.kernel.org,
	Marc Kleine-Budde <mkl@pengutronix.de>
Subject: [mkl-can-next:testing 13/13] drivers/net/can/flexcan.c:1949: undefined reference to `imx_scu_get_handle'
Date: Thu, 12 Nov 2020 06:27:16 +0800	[thread overview]
Message-ID: <202011120610.deKUNapT-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing
head:   32eb12586955cfd84ece37ecfd7be72965ba1a30
commit: 32eb12586955cfd84ece37ecfd7be72965ba1a30 [13/13] can: flexcan: add CAN wakeup function for i.MX8QM
config: x86_64-randconfig-s022-20201111 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-106-gd020cf33-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git/commit/?id=32eb12586955cfd84ece37ecfd7be72965ba1a30
        git remote add mkl-can-next https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git
        git fetch --no-tags mkl-can-next testing
        git checkout 32eb12586955cfd84ece37ecfd7be72965ba1a30
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   ld: drivers/net/can/flexcan.o: in function `flexcan_setup_stop_mode_scfw':
>> drivers/net/can/flexcan.c:1949: undefined reference to `imx_scu_get_handle'
   ld: drivers/net/can/flexcan.o: in function `flexcan_stop_mode_enable_scfw':
>> drivers/net/can/flexcan.c:570: undefined reference to `imx_sc_misc_set_control'
>> ld: drivers/net/can/flexcan.c:570: undefined reference to `imx_sc_misc_set_control'

vim +1949 drivers/net/can/flexcan.c

  1931	
  1932	static int flexcan_setup_stop_mode_scfw(struct platform_device *pdev)
  1933	{
  1934		struct net_device *dev = platform_get_drvdata(pdev);
  1935		struct flexcan_priv *priv;
  1936		u8 scu_idx;
  1937		int ret;
  1938	
  1939		ret = of_property_read_u8(pdev->dev.of_node, "fsl,scu-index", &scu_idx);
  1940		if (ret < 0) {
  1941			dev_dbg(&pdev->dev, "failed to get scu index\n");
  1942			return ret;
  1943		}
  1944	
  1945		priv = netdev_priv(dev);
  1946		priv->scu_idx = scu_idx;
  1947	
  1948		/* this function could be defered probe, return -EPROBE_DEFER */
> 1949		return imx_scu_get_handle(&priv->sc_ipc_handle);
  1950	}
  1951	

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

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [mkl-can-next:testing 13/13] drivers/net/can/flexcan.c:1949: undefined reference to `imx_scu_get_handle'
Date: Thu, 12 Nov 2020 06:27:16 +0800	[thread overview]
Message-ID: <202011120610.deKUNapT-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing
head:   32eb12586955cfd84ece37ecfd7be72965ba1a30
commit: 32eb12586955cfd84ece37ecfd7be72965ba1a30 [13/13] can: flexcan: add CAN wakeup function for i.MX8QM
config: x86_64-randconfig-s022-20201111 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-106-gd020cf33-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git/commit/?id=32eb12586955cfd84ece37ecfd7be72965ba1a30
        git remote add mkl-can-next https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git
        git fetch --no-tags mkl-can-next testing
        git checkout 32eb12586955cfd84ece37ecfd7be72965ba1a30
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   ld: drivers/net/can/flexcan.o: in function `flexcan_setup_stop_mode_scfw':
>> drivers/net/can/flexcan.c:1949: undefined reference to `imx_scu_get_handle'
   ld: drivers/net/can/flexcan.o: in function `flexcan_stop_mode_enable_scfw':
>> drivers/net/can/flexcan.c:570: undefined reference to `imx_sc_misc_set_control'
>> ld: drivers/net/can/flexcan.c:570: undefined reference to `imx_sc_misc_set_control'

vim +1949 drivers/net/can/flexcan.c

  1931	
  1932	static int flexcan_setup_stop_mode_scfw(struct platform_device *pdev)
  1933	{
  1934		struct net_device *dev = platform_get_drvdata(pdev);
  1935		struct flexcan_priv *priv;
  1936		u8 scu_idx;
  1937		int ret;
  1938	
  1939		ret = of_property_read_u8(pdev->dev.of_node, "fsl,scu-index", &scu_idx);
  1940		if (ret < 0) {
  1941			dev_dbg(&pdev->dev, "failed to get scu index\n");
  1942			return ret;
  1943		}
  1944	
  1945		priv = netdev_priv(dev);
  1946		priv->scu_idx = scu_idx;
  1947	
  1948		/* this function could be defered probe, return -EPROBE_DEFER */
> 1949		return imx_scu_get_handle(&priv->sc_ipc_handle);
  1950	}
  1951	

---
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: 34238 bytes --]

             reply	other threads:[~2020-11-11 22:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11 22:27 kernel test robot [this message]
2020-11-11 22:27 ` [mkl-can-next:testing 13/13] drivers/net/can/flexcan.c:1949: undefined reference to `imx_scu_get_handle' kernel test robot

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=202011120610.deKUNapT-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-can@vger.kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=qiangqing.zhang@nxp.com \
    /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.