CC: kbuild-all(a)lists.01.org TO: Kees Cook CC: Chao Yu , Chao Yu tree: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git kspp/uninit/macro head: 2d0e6f87039d3bbf4d54bf426ea7c51bb405b8cc commit: 4ee42e96f8519aa948c3eebe14ad67b82c02a2c2 [15/16] treewide: Remove uninitialized_var() usage :::::: branch date: 22 hours ago :::::: commit date: 22 hours ago config: x86_64-randconfig-m001-20200620 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter New smatch warnings: drivers/ide/ide-sysfs.c:142 ide_sysfs_register_port() error: uninitialized symbol 'rc'. drivers/tty/cyclades.c:3805 cy_pci_probe() error: uninitialized symbol 'mailbox'. Old smatch warnings: drivers/tty/cyclades.c:3890 cy_pci_remove() warn: if statement not indented # https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?id=4ee42e96f8519aa948c3eebe14ad67b82c02a2c2 git remote add kees https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git git remote update kees git checkout 4ee42e96f8519aa948c3eebe14ad67b82c02a2c2 vim +/rc +142 drivers/ide/ide-sysfs.c ebdab07dad3d3a Bartlomiej Zolnierkiewicz 2009-01-02 131 ebdab07dad3d3a Bartlomiej Zolnierkiewicz 2009-01-02 132 int ide_sysfs_register_port(ide_hwif_t *hwif) ebdab07dad3d3a Bartlomiej Zolnierkiewicz 2009-01-02 133 { 4ee42e96f8519a Kees Cook 2020-06-03 134 int i, rc; ebdab07dad3d3a Bartlomiej Zolnierkiewicz 2009-01-02 135 ebdab07dad3d3a Bartlomiej Zolnierkiewicz 2009-01-02 136 for (i = 0; ide_port_attrs[i]; i++) { ebdab07dad3d3a Bartlomiej Zolnierkiewicz 2009-01-02 137 rc = device_create_file(hwif->portdev, ide_port_attrs[i]); ebdab07dad3d3a Bartlomiej Zolnierkiewicz 2009-01-02 138 if (rc) ebdab07dad3d3a Bartlomiej Zolnierkiewicz 2009-01-02 139 break; ebdab07dad3d3a Bartlomiej Zolnierkiewicz 2009-01-02 140 } ebdab07dad3d3a Bartlomiej Zolnierkiewicz 2009-01-02 141 ebdab07dad3d3a Bartlomiej Zolnierkiewicz 2009-01-02 @142 return rc; :::::: The code at line 142 was first introduced by commit :::::: ebdab07dad3d3a008e519b0a028e1e1ad5ecaef0 ide: move sysfs support to ide-sysfs.c :::::: TO: Bartlomiej Zolnierkiewicz :::::: CC: Bartlomiej Zolnierkiewicz --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org