# git rev-parse -q --verify 044ee890286153a1aefb40cb8b6659921aecb38b^{commit} 044ee890286153a1aefb40cb8b6659921aecb38b already have revision, skipping fetch # git checkout -q -f -B kisskb 044ee890286153a1aefb40cb8b6659921aecb38b # git clean -qxdf # < git log -1 # commit 044ee890286153a1aefb40cb8b6659921aecb38b # Author: Linus Torvalds # Date: Mon Oct 29 11:25:24 2018 -0700 # # HID: input: simplify/fix high-res scroll event handling # # Commit 1ff2e1a44e02 ("HID: input: Create a utility class for counting # scroll events") created the helper function # # hid_scroll_counter_handle_scroll() # # to handle high-res scroll events and also expose them as regular wheel # events. # # But the resulting algorithm was unstable, and causes scrolling to be # very unreliable. When you hit the half-way mark of the highres # multiplier, small highres movements will incorrectly translate into big # traditional wheel movements, causing odd jitters. # # Simplify the code and make the output stable. # # NOTE! I'm pretty sure this will need further tweaking. But this at # least turns a unusable mouse wheel on my Logitech MX Anywhere 2S into # a usable one. # # Cc: Jiri Kosina # Cc: Harry Cutts # Cc: Benjamin Tissoires # Cc: Peter Hutterer # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 044ee890286153a1aefb40cb8b6659921aecb38b # < make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1256:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1433:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:803:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:800:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:341:21: note: 'pdeo' was declared here /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 [-Wuninitialized] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here arch/powerpc/boot/dts/fsl/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/fsl/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb891a0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5594992 Bytes = 5463.86 KiB = 5.34 MiB Load Address: 00000000 Entry Point: 00000000 INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5625873 Bytes = 5494.02 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5625309 Bytes = 5493.47 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5626805 Bytes = 5494.93 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5624459 Bytes = 5492.64 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5625074 Bytes = 5493.24 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5624459 Bytes = 5492.64 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5626691 Bytes = 5494.82 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5624504 Bytes = 5492.68 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002f4 INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5625023 Bytes = 5493.19 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002b4 INFO: Uncompressed kernel (size 0xb99928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:42 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5625087 Bytes = 5493.25 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002f4 Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5624266 Bytes = 5492.45 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5624540 Bytes = 5492.71 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002f4 Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5625089 Bytes = 5493.25 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002f4 Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5625071 Bytes = 5493.23 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002f4 Image Name: Linux-4.19.0-g044ee8902861 Created: Tue Oct 30 08:50:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5624348 Bytes = 5492.53 KiB = 5.36 MiB Load Address: 00c00000 Entry Point: 00c002b4 Completed OK # rm -rf /kisskb/build/linus_mpc85xx_defconfig_powerpc # Build took: 0:03:15.848166