Module Name: src Committed By: riastradh Date: Sun Dec 19 12:40:21 UTC 2021
Modified Files: src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core: nouveau_nvkm_core_ioctl.c Log Message: nouveau: fix a "can return -1 to userland" problem. nvkm_ioctl_del() for some reason converts 0 into 1 return. this appears to be a way to avoid having a log printed by nvkm_ioctl() and to trigger some dead code ("hack" is always NULL afaict.) after consuming this value convert it back to 0 for ioctl return. Author: phone <m...@netbsd.org> Committer: Taylor R Campbell <riastr...@netbsd.org> To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_ioctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.