# 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/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 044ee890286153a1aefb40cb8b6659921aecb38b # < make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig+NO_KVM_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # Added to kconfig CONFIG_KVM_BOOK3S_64=n # Added to kconfig CONFIG_KVM=n # yes \n | make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig+NO_KVM_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig+NO_KVM_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c:582:18: warning: 'struct iphdr' declared inside parameter list struct iphdr *iph) ^ /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c:582:18: warning: its scope is only this definition or declaration, which is probably not what you want /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c: In function 'get_fixed_ipv4_csum': /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c:586:20: error: dereferencing pointer to incomplete type 'struct iphdr' __u8 ipproto = iph->protocol; ^ make[6]: *** [/kisskb/src/scripts/Makefile.build:293: drivers/net/ethernet/mellanox/mlx4/en_rx.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:518: drivers/net/ethernet/mellanox/mlx4] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:518: drivers/net/ethernet/mellanox] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:518: drivers/net/ethernet] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:518: drivers/net] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1060: drivers] Error 2 make: *** [Makefile:152: sub-make] Error 2 Command 'make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig+NO_KVM_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_ppc64le_defconfig+NO_KVM_ppc64le-gcc5 # Build took: 0:04:58.089304