[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202407020122.HVWEmotz-lkp@intel.com>
Date: Tue, 2 Jul 2024 01:48:12 +0800
From: kernel test robot <lkp@...el.com>
To: Jean-Michel Hautbois <jeanmichel.hautbois@...eli.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Stefan Agner <stefan@...er.ch>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-m68k@...ts.linux-m68k.org, linux-kernel@...r.kernel.org,
linux-mtd@...ts.infradead.org,
Jean-Michel Hautbois <jeanmichel.hautbois@...eli.org>
Subject: Re: [PATCH v2 2/2] mtd: nand: Add support for M5441x NFC
Hi Jean-Michel,
kernel test robot noticed the following build warnings:
[auto build test WARNING on afcd48134c58d6af45fb3fdb648f1260b20f2326]
url: https://github.com/intel-lab-lkp/linux/commits/Jean-Michel-Hautbois/arch-m68k-Add-definitions-for-flash-NFC-support/20240628-190232
base: afcd48134c58d6af45fb3fdb648f1260b20f2326
patch link: https://lore.kernel.org/r/20240627-upstream-nfc-mcf5441x-v2-2-312929d09ee5%40yoseli.org
patch subject: [PATCH v2 2/2] mtd: nand: Add support for M5441x NFC
config: x86_64-buildonly-randconfig-004-20240701
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build):
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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407020122.HVWEmotz-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/mtd/nand/raw/vf610_nfc.c:889:18: warning: cast to smaller integer type 'enum vf610_nfc_variant' from 'const void *' [-Wvoid-pointer-to-enum-cast]
889 | nfc->variant = (enum vf610_nfc_variant)data;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/mtd/nand/raw/vf610_nfc.c:718:34: warning: unused variable 'vf610_nfc_dt_ids' [-Wunused-const-variable]
718 | static const struct of_device_id vf610_nfc_dt_ids[] = {
| ^~~~~~~~~~~~~~~~
2 warnings generated.
vim +/vf610_nfc_dt_ids +718 drivers/mtd/nand/raw/vf610_nfc.c
049f42509973b86 drivers/mtd/nand/vf610_nfc.c Stefan Agner 2015-09-02 717
456930d80a2da12 drivers/mtd/nand/vf610_nfc.c Stefan Agner 2015-09-02 @718 static const struct of_device_id vf610_nfc_dt_ids[] = {
456930d80a2da12 drivers/mtd/nand/vf610_nfc.c Stefan Agner 2015-09-02 719 { .compatible = "fsl,vf610-nfc", .data = (void *)NFC_VFC610 },
456930d80a2da12 drivers/mtd/nand/vf610_nfc.c Stefan Agner 2015-09-02 720 { /* sentinel */ }
456930d80a2da12 drivers/mtd/nand/vf610_nfc.c Stefan Agner 2015-09-02 721 };
456930d80a2da12 drivers/mtd/nand/vf610_nfc.c Stefan Agner 2015-09-02 722 MODULE_DEVICE_TABLE(of, vf610_nfc_dt_ids);
456930d80a2da12 drivers/mtd/nand/vf610_nfc.c Stefan Agner 2015-09-02 723
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
View attachment "reproduce" of type "text/plain" (639 bytes)
View attachment "config" of type "text/plain" (165074 bytes)
Powered by blists - more mailing lists