CC: [email protected] CC: [email protected] TO: Christophe Kerello <[email protected]> CC: Miquel Raynal <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 729e3d091984487f7aa1ebfabfe594e5b317ed0f commit: 743f05572e7f81dcccfecf454bc7d9e10edbbaca mtd: rawnand: stm32_fmc2: cosmetic change to use nfc instead of fmc2 where relevant date: 4 months ago :::::: branch date: 24 hours ago :::::: commit date: 4 months ago config: parisc-randconfig-m031-20200913 (attached as .config) compiler: hppa-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: drivers/mtd/nand/raw/stm32_fmc2_nand.c:1562 stm32_fmc2_nfc_setup_interface() warn: passing a valid pointer to 'PTR_ERR' # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=743f05572e7f81dcccfecf454bc7d9e10edbbaca git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 743f05572e7f81dcccfecf454bc7d9e10edbbaca vim +/PTR_ERR +1562 drivers/mtd/nand/raw/stm32_fmc2_nand.c 2cd457f328c100 Christophe Kerello 2018-12-14 1554 743f05572e7f81 Christophe Kerello 2020-05-12 1555 static int stm32_fmc2_nfc_setup_interface(struct nand_chip *chip, int chipnr, 2cd457f328c100 Christophe Kerello 2018-12-14 1556 const struct nand_data_interface *conf) 2cd457f328c100 Christophe Kerello 2018-12-14 1557 { 2cd457f328c100 Christophe Kerello 2018-12-14 1558 const struct nand_sdr_timings *sdrt; 2cd457f328c100 Christophe Kerello 2018-12-14 1559 2cd457f328c100 Christophe Kerello 2018-12-14 1560 sdrt = nand_get_sdr_timings(conf); 2cd457f328c100 Christophe Kerello 2018-12-14 1561 if (IS_ERR(sdrt)) 2cd457f328c100 Christophe Kerello 2018-12-14 @1562 return PTR_ERR(sdrt); 2cd457f328c100 Christophe Kerello 2018-12-14 1563 2cd457f328c100 Christophe Kerello 2018-12-14 1564 if (chipnr == NAND_DATA_IFACE_CHECK_ONLY) 2cd457f328c100 Christophe Kerello 2018-12-14 1565 return 0; 2cd457f328c100 Christophe Kerello 2018-12-14 1566 743f05572e7f81 Christophe Kerello 2020-05-12 1567 stm32_fmc2_nfc_calc_timings(chip, sdrt); 743f05572e7f81 Christophe Kerello 2020-05-12 1568 stm32_fmc2_nfc_timings_init(chip); 2cd457f328c100 Christophe Kerello 2018-12-14 1569 2cd457f328c100 Christophe Kerello 2018-12-14 1570 return 0; 2cd457f328c100 Christophe Kerello 2018-12-14 1571 } 2cd457f328c100 Christophe Kerello 2018-12-14 1572 :::::: The code at line 1562 was first introduced by commit :::::: 2cd457f328c100bc98e36d55fe210e9ab067c704 mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver :::::: TO: Christophe Kerello <[email protected]> :::::: CC: Miquel Raynal <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
