# git rev-parse -q --verify e8f71f89236ef82d449991bfbc237e3cb6ea584f^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify e8f71f89236ef82d449991bfbc237e3cb6ea584f^{commit} e8f71f89236ef82d449991bfbc237e3cb6ea584f # git checkout -q -f -B kisskb e8f71f89236ef82d449991bfbc237e3cb6ea584f # git clean -qxdf # < git log -1 # commit e8f71f89236ef82d449991bfbc237e3cb6ea584f # Author: Guenter Roeck # Date: Wed Sep 8 12:08:17 2021 -0700 # # drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV # # nvkm test builds fail with the following error. # # drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c: In function 'nvkm_control_mthd_pstate_info': # drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c:60:35: error: overflow in conversion from 'int' to '__s8' {aka 'signed char'} changes value from '-251' to '5' # # The code builds on most architectures, but fails on parisc where ENOSYS # is defined as 251. # # Replace the error code with -ENODEV (-19). The actual error code does # not really matter and is not passed to userspace - it just has to be # negative. # # Fixes: 7238eca4cf18 ("drm/nouveau: expose pstate selection per-power source in sysfs") # Signed-off-by: Guenter Roeck # Cc: Ben Skeggs # Cc: David Airlie # Cc: Daniel Vetter # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 e8f71f89236ef82d449991bfbc237e3cb6ea584f # < make -s -j 80 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 80 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 80 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:6160:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6162:warning: override: reassigning to symbol GCC_PLUGINS # make -s -j 80 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/src/kernel/kcsan/kcsan_test.c: In function 'test_atomic_builtins': /kisskb/src/kernel/kcsan/kcsan_test.c:953:17: warning: 'atomic_thread_fence' is not supported with '-fsanitize=thread' [-Wtsan] 953 | __atomic_thread_fence(__ATOMIC_SEQ_CST); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:07:01.000384