Re: [PATCH v1] can: flexcan: Drop unused platform driver data
From: kernel test robot
Date: Thu May 28 2026 - 22:01:05 EST
Hi Uwe,
kernel test robot noticed the following build warnings:
[auto build test WARNING on e7d700e14934e68f86338c5610cf2ae76798b663]
url: https://github.com/intel-lab-lkp/linux/commits/Uwe-Kleine-K-nig-The-Capable-Hub/can-flexcan-Drop-unused-platform-driver-data/20260528-181620
base: e7d700e14934e68f86338c5610cf2ae76798b663
patch link: https://lore.kernel.org/r/20260528094540.1867783-2-u.kleine-koenig%40baylibre.com
patch subject: [PATCH v1] can: flexcan: Drop unused platform driver data
config: i386-buildonly-randconfig-002-20260529 (https://download.01.org/0day-ci/archive/20260529/202605290912.Y77fySxN-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260529/202605290912.Y77fySxN-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605290912.Y77fySxN-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/net/can/flexcan/flexcan-core.c:296:42: warning: unused variable 'fsl_mcf5441x_devtype_data' [-Wunused-const-variable]
296 | static const struct flexcan_devtype_data fsl_mcf5441x_devtype_data = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
vim +/fsl_mcf5441x_devtype_data +296 drivers/net/can/flexcan/flexcan-core.c
4b702878afc375 drivers/net/can/flexcan.c Marc Kleine-Budde 2020-09-22 295
d9cead75b1c66b drivers/net/can/flexcan.c Angelo Dureghello 2021-07-02 @296 static const struct flexcan_devtype_data fsl_mcf5441x_devtype_data = {
d9cead75b1c66b drivers/net/can/flexcan.c Angelo Dureghello 2021-07-02 297 .quirks = FLEXCAN_QUIRK_BROKEN_PERR_STATE |
c5c88591040ee7 drivers/net/can/flexcan/flexcan-core.c Marc Kleine-Budde 2022-01-07 298 FLEXCAN_QUIRK_NR_IRQ_3 | FLEXCAN_QUIRK_NR_MB_16 |
d945346db1ef41 drivers/net/can/flexcan/flexcan-core.c Marc Kleine-Budde 2022-08-11 299 FLEXCAN_QUIRK_SUPPORT_RX_MAILBOX |
d945346db1ef41 drivers/net/can/flexcan/flexcan-core.c Marc Kleine-Budde 2022-08-11 300 FLEXCAN_QUIRK_SUPPORT_RX_FIFO,
d9cead75b1c66b drivers/net/can/flexcan.c Angelo Dureghello 2021-07-02 301 };
d9cead75b1c66b drivers/net/can/flexcan.c Angelo Dureghello 2021-07-02 302
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki