# git rev-parse -q --verify e8f71f89236ef82d449991bfbc237e3cb6ea584f^{commit} e8f71f89236ef82d449991bfbc237e3cb6ea584f already have revision, skipping fetch # 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-10.1.0-nolibc/arc-linux/bin/arc-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux-ld --version # < git log --format=%s --max-count=1 e8f71f89236ef82d449991bfbc237e3cb6ea584f # < make -s -j 32 ARCH=arc O=/kisskb/build/linus_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- axs103_smp_defconfig /kisskb/src/arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' # Added to kconfig CONFIG_INITRAMFS_SOURCE="" # < make -s -j 32 ARCH=arc O=/kisskb/build/linus_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- help /kisskb/src/arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' # make -s -j 32 ARCH=arc O=/kisskb/build/linus_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- olddefconfig /kisskb/src/arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' # make -s -j 32 ARCH=arc O=/kisskb/build/linus_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- /kisskb/src/arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' Completed OK # rm -rf /kisskb/build/linus_axs103_smp_defconfig_arc-gcc10 # Build took: 0:00:46.600030