# 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-8.1.0-nolibc/hppa-linux/bin/hppa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux-ld --version # < git log --format=%s --max-count=1 e8f71f89236ef82d449991bfbc237e3cb6ea584f # < make -s -j 80 ARCH=parisc O=/kisskb/build/linus_generic-32bit_defconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- generic-32bit_defconfig # < make -s -j 80 ARCH=parisc O=/kisskb/build/linus_generic-32bit_defconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- help # make -s -j 80 ARCH=parisc O=/kisskb/build/linus_generic-32bit_defconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- olddefconfig # make -s -j 80 ARCH=parisc O=/kisskb/build/linus_generic-32bit_defconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1169:1: warning: the frame size of 1672 bytes is larger than 1536 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/scsi/ncr53c8xx.c:8000:26: warning: 'retrieve_from_waiting_list' defined but not used [-Wunused-function] static struct scsi_cmnd *retrieve_from_waiting_list(int to_remove, struct ncb *np, struct scsi_cmnd *cmd) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/xxhash.c: In function 'xxh64': /kisskb/src/lib/xxhash.c:236:1: warning: the frame size of 1616 bytes is larger than 1536 bytes [-Wframe-larger-than=] } ^ Completed OK # rm -rf /kisskb/build/linus_generic-32bit_defconfig_parisc-gcc8 # Build took: 0:02:00.627414