# git rev-parse -q --verify b59dfdaef173677b0b7e10f375226c0a1114fd20^{commit} b59dfdaef173677b0b7e10f375226c0a1114fd20 already have revision, skipping fetch # git checkout -q -f -B kisskb b59dfdaef173677b0b7e10f375226c0a1114fd20 # git clean -qxdf # < git log -1 # commit b59dfdaef173677b0b7e10f375226c0a1114fd20 # Author: Linus Torvalds # Date: Sat Oct 27 09:10:48 2018 -0700 # # i2c-hid: properly terminate i2c_hid_dmi_desc_override_table[] array # # Commit 9ee3e06610fd ("HID: i2c-hid: override HID descriptors for certain # devices") added a new dmi_system_id quirk table to override certain HID # report descriptors for some systems that lack them. # # But the table wasn't properly terminated, causing the dmi matching to # walk off into la-la-land, and starting to treat random data as dmi # descriptor pointers, causing boot-time oopses if you were at all # unlucky. # # Terminate the array. # # We really should have some way to just statically check that arrays that # should be terminated by an empty entry actually are so. But the HID # people really should have caught this themselves, rather than have me # deal with an oops during the merge window. Tssk, tssk. # # Cc: Julian Sax # Cc: Benjamin Tissoires # Cc: Jiri Kosina # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux-gcc --version # < git log --format=%s --max-count=1 b59dfdaef173677b0b7e10f375226c0a1114fd20 # < make -s -j 80 ARCH=nds32 O=/kisskb/build/linus_nds32-allmodconfig_nds32le CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- allmodconfig # make -s -j 80 ARCH=nds32 O=/kisskb/build/linus_nds32-allmodconfig_nds32le CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c: In function 'test_hexdump_prepare_test.isra.0': /kisskb/src/lib/test_hexdump.c:102:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(p, q, amount); ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c:100:19: note: length computed here size_t amount = strlen(q); ^~~~~~~~~ /kisskb/src/drivers/input/joystick/analog.c:172:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^~~~~~~ /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ret == -EOPNOTSUPP) ^ /kisskb/src/drivers/mtd/nand/raw/qcom_nandc.c:153: warning: "PAGE_READ" redefined #define PAGE_READ 0x2 In file included from /kisskb/src/include/linux/memremap.h:7, from /kisskb/src/include/linux/mm.h:27, from /kisskb/src/include/linux/scatterlist.h:8, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/drivers/mtd/nand/raw/qcom_nandc.c:17: /kisskb/src/arch/nds32/include/asm/pgtable.h:145: note: this is the location of the previous definition #define PAGE_READ __pgprot(_PAGE_V | _PAGE_M_UR_KR) WARNING: EXPORT symbol "clear_page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "copy_page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: "clear_page" [fs/ocfs2/dlm/ocfs2_dlm.ko] has no CRC! WARNING: "clear_page" [fs/ntfs/ntfs.ko] has no CRC! WARNING: "copy_page" [fs/nilfs2/nilfs2.ko] has no CRC! WARNING: "clear_page" [fs/gfs2/gfs2.ko] has no CRC! WARNING: "copy_page" [fs/fuse/fuse.ko] has no CRC! WARNING: "clear_page" [fs/fuse/fuse.ko] has no CRC! WARNING: "clear_page" [fs/exofs/libore.ko] has no CRC! WARNING: "clear_page" [fs/exofs/exofs.ko] has no CRC! WARNING: "copy_page" [fs/cachefiles/cachefiles.ko] has no CRC! WARNING: "copy_page" [fs/btrfs/btrfs.ko] has no CRC! WARNING: "clear_page" [fs/btrfs/btrfs.ko] has no CRC! WARNING: "clear_page" [drivers/md/raid456.ko] has no CRC! WARNING: "clear_page" [drivers/md/dm-integrity.ko] has no CRC! WARNING: "copy_page" [drivers/gpu/drm/ttm/ttm.ko] has no CRC! WARNING: "clear_page" [drivers/gpu/drm/ttm/ttm.ko] has no CRC! WARNING: "copy_page" [drivers/block/drbd/drbd.ko] has no CRC! Completed OK # rm -rf /kisskb/build/linus_nds32-allmodconfig_nds32le # Build took: 0:09:27.050870