CC: [email protected] TO: Thomas Gleixner <[email protected]> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/apic head: 79dccf5adfcb84abb5644e4349234c4442803c9a commit: c886de0d40c30285de3a9671558ee48e7b5c83d7 [20/33] x86/ioapic: Cleanup IO/APIC route entry structs :::::: branch date: 4 hours ago :::::: commit date: 4 hours ago config: i386-randconfig-s001-20201023 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-17-g2d3af347-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id=c886de0d40c30285de3a9671558ee48e7b5c83d7 git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git git fetch --no-tags tglx-devel x86/apic git checkout c886de0d40c30285de3a9671558ee48e7b5c83d7 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> "sparse warnings: (new ones prefixed by >>)" >> arch/x86/kernel/apic/io_apic.c:1251:65: sparse: sparse: invalid access past >> the end of 'entry' (12 16) arch/x86/kernel/apic/io_apic.c:1248:26: sparse: sparse: invalid access past the end of 'entry' (12 16) vim +/entry +1251 arch/x86/kernel/apic/io_apic.c 17405453f4ad022 Yoshihiro YUNOMAE 2013-08-20 1231 a44174ee7b38001 Jiang Liu 2015-04-13 1232 static void io_apic_print_entries(unsigned int apic, unsigned int nr_entries) a44174ee7b38001 Jiang Liu 2015-04-13 1233 { a44174ee7b38001 Jiang Liu 2015-04-13 1234 struct IO_APIC_route_entry entry; c886de0d40c3028 Thomas Gleixner 2020-10-22 1235 char buf[256]; c886de0d40c3028 Thomas Gleixner 2020-10-22 1236 int i; a44174ee7b38001 Jiang Liu 2015-04-13 1237 a44174ee7b38001 Jiang Liu 2015-04-13 1238 printk(KERN_DEBUG "IOAPIC %d:\n", apic); a44174ee7b38001 Jiang Liu 2015-04-13 1239 for (i = 0; i <= nr_entries; i++) { a44174ee7b38001 Jiang Liu 2015-04-13 1240 entry = ioapic_read_entry(apic, i); a44174ee7b38001 Jiang Liu 2015-04-13 1241 snprintf(buf, sizeof(buf), a44174ee7b38001 Jiang Liu 2015-04-13 1242 " pin%02x, %s, %s, %s, V(%02X), IRR(%1d), S(%1d)", 335efdf57da39d3 Thomas Gleixner 2015-04-14 1243 i, c886de0d40c3028 Thomas Gleixner 2020-10-22 1244 entry.masked ? "disabled" : "enabled ", c886de0d40c3028 Thomas Gleixner 2020-10-22 1245 entry.is_level ? "level" : "edge ", c886de0d40c3028 Thomas Gleixner 2020-10-22 1246 entry.active_low ? "low " : "high", a44174ee7b38001 Jiang Liu 2015-04-13 1247 entry.vector, entry.irr, entry.delivery_status); c886de0d40c3028 Thomas Gleixner 2020-10-22 1248 if (entry.ir_format) { a44174ee7b38001 Jiang Liu 2015-04-13 1249 printk(KERN_DEBUG "%s, remapped, I(%04X), Z(%X)\n", 335efdf57da39d3 Thomas Gleixner 2015-04-14 1250 buf, c886de0d40c3028 Thomas Gleixner 2020-10-22 @1251 (entry.ir_index_15 << 15) | entry.ir_index_0_14, c886de0d40c3028 Thomas Gleixner 2020-10-22 1252 entry.ir_zero); c886de0d40c3028 Thomas Gleixner 2020-10-22 1253 } else { c886de0d40c3028 Thomas Gleixner 2020-10-22 1254 printk(KERN_DEBUG "%s, %s, D(%02X), M(%1d)\n", buf, c886de0d40c3028 Thomas Gleixner 2020-10-22 1255 entry.dest_mode_logical ? "logical " : "physical", c886de0d40c3028 Thomas Gleixner 2020-10-22 1256 entry.destid_0_7, entry.delivery_mode); c886de0d40c3028 Thomas Gleixner 2020-10-22 1257 } a44174ee7b38001 Jiang Liu 2015-04-13 1258 } a44174ee7b38001 Jiang Liu 2015-04-13 1259 } a44174ee7b38001 Jiang Liu 2015-04-13 1260 --- 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]
