diff options
| author | Debleena Sen | 2019-03-09 10:53:37 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman | 2019-03-18 07:05:22 +0100 |
| commit | 6de5cd74fb8f9bb940caa7d082ab03e38443a6fb (patch) | |
| tree | fb747a17aeaa020b0f711711cf3aee8872790e91 /scripts/patch-kernel | |
| parent | de5e4aea8881390314cdb2f8e1c2ae40834c1c26 (diff) | |
staging: vboxvideo: Do not return -ENOSYS
New instances of ENOSYS are errors. ENOSYS should be used for nonexistent
syscalls only. Use ENODEV instead as there should not be any other
driver for a virtual device that might share buffers with vboxvideo.
In vbox_prime.c, replace all occurrences of -ENOSYS with -ENODEV to fix
checkpatch.pl warning:
WARNING: ENOSYS means 'invalid syscall nr' and nothing else
Signed-off-by: Debleena Sen <idebleenasen@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
