Linux CAN drivers development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sean Nyekjaer <sean@geanix.com>,
	Markus Schneider-Pargmann <msp@baylibre.com>,
	Marc Kleine-Budde <mkl@pengutronix.de>,
	Vincent Mailhol <mailhol@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, Sean Nyekjaer <sean@geanix.com>,
	linux-can@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] can: tcan4x5x: put tcan into sleep when removing driver
Date: Wed, 12 Aug 2026 18:29:14 +0800	[thread overview]
Message-ID: <202608121810.7mcuyYMc-lkp@intel.com> (raw)
In-Reply-To: <20260803101927.17122-1-sean@geanix.com>

Hi Sean,

kernel test robot noticed the following build errors:

[auto build test ERROR on mkl-can-next/testing]
[also build test ERROR on linus/master v7.2-rc7 next-20260810]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Sean-Nyekjaer/can-tcan4x5x-put-tcan-into-sleep-when-removing-driver/20260812-163135
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing
patch link:    https://lore.kernel.org/r/20260803101927.17122-1-sean%40geanix.com
patch subject: [PATCH v2] can: tcan4x5x: put tcan into sleep when removing driver
config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20260812/202608121810.7mcuyYMc-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260812/202608121810.7mcuyYMc-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608121810.7mcuyYMc-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/net/can/m_can/tcan4x5x-core.c: In function 'tcan4x5x_can_remove':
>> drivers/net/can/m_can/tcan4x5x-core.c:552:35: error: passing argument 1 of 'tcan4x5x_power_enable' from incompatible pointer type [-Wincompatible-pointer-types]
     552 |         tcan4x5x_power_enable(priv->power, 0);
         |                               ~~~~^~~~~~~
         |                                   |
         |                                   struct regulator *
   drivers/net/can/m_can/tcan4x5x-core.c:214:56: note: expected 'struct tcan4x5x_priv *' but argument is of type 'struct regulator *'
     214 | static int tcan4x5x_power_enable(struct tcan4x5x_priv *priv, int enable)
         |                                  ~~~~~~~~~~~~~~~~~~~~~~^~~~


vim +/tcan4x5x_power_enable +552 drivers/net/can/m_can/tcan4x5x-core.c

5443c226ba9166 drivers/net/can/m_can/tcan4x5x.c      Dan Murphy        2019-05-09  545  
a0386bba70934d drivers/net/can/m_can/tcan4x5x-core.c Uwe Kleine-König  2022-01-23  546  static void tcan4x5x_can_remove(struct spi_device *spi)
5443c226ba9166 drivers/net/can/m_can/tcan4x5x.c      Dan Murphy        2019-05-09  547  {
5443c226ba9166 drivers/net/can/m_can/tcan4x5x.c      Dan Murphy        2019-05-09  548  	struct tcan4x5x_priv *priv = spi_get_drvdata(spi);
5443c226ba9166 drivers/net/can/m_can/tcan4x5x.c      Dan Murphy        2019-05-09  549  
ac33ffd3e2b037 drivers/net/can/m_can/tcan4x5x.c      Marc Kleine-Budde 2020-12-12  550  	m_can_class_unregister(&priv->cdev);
5443c226ba9166 drivers/net/can/m_can/tcan4x5x.c      Dan Murphy        2019-05-09  551  
c81d0b6ca66547 drivers/net/can/m_can/tcan4x5x.c      Marc Kleine-Budde 2020-08-10 @552  	tcan4x5x_power_enable(priv->power, 0);
c81d0b6ca66547 drivers/net/can/m_can/tcan4x5x.c      Marc Kleine-Budde 2020-08-10  553  
ac33ffd3e2b037 drivers/net/can/m_can/tcan4x5x.c      Marc Kleine-Budde 2020-12-12  554  	m_can_class_free_dev(priv->cdev.net);
5443c226ba9166 drivers/net/can/m_can/tcan4x5x.c      Dan Murphy        2019-05-09  555  }
5443c226ba9166 drivers/net/can/m_can/tcan4x5x.c      Dan Murphy        2019-05-09  556  

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

      parent reply	other threads:[~2026-08-12 10:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03 10:19 [PATCH v2] can: tcan4x5x: put tcan into sleep when removing driver Sean Nyekjaer
2026-08-03 10:33 ` sashiko-bot
2026-08-03 11:00   ` Marc Kleine-Budde
2026-08-03 11:16   ` Sean Nyekjaer
2026-08-03 10:59 ` Marc Kleine-Budde
2026-08-03 11:32   ` Sean Nyekjaer
2026-08-12 10:29 ` kernel test robot [this message]

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=202608121810.7mcuyYMc-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-can@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mailhol@kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=msp@baylibre.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sean@geanix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox