[PATCH] vmci_host: print unexpanded names of ioctl requests in debug messages

2021-03-02 Thread Gleb Fotengauer-Malinovskiy
IOCTL(ioctl_name) \ char *name = __stringify(IOCTL_VMCI_ ## ioctl_name); int main() { VMCI_DO_IOCTL(INIT_CONTEXT) printf("%s\n", name); } $ cc stringify.c $ ./a.out (((0U) << (((0+8)+8)+14)) | (((7)) << (0+8)) | (((0xa0)) << 0) | ((0) << ((0+

[PATCH] [PING] Fix TIOCGPTPEER ioctl definition

2017-07-17 Thread Gleb Fotengauer-Malinovskiy
This ioctl does nothing to justify an _IOC_READ or _IOC_WRITE flag because it doesn't copy anything from/to userspace to access the argument. Fixes: 54ebbfb16034 ("tty: add TIOCGPTPEER ioctl") Signed-off-by: Gleb Fotengauer-Malinovskiy Acked-by: Aleksa Sarai Acked-by: Arnd Berg

[PATCH] tty: Fix TIOCGPTPEER ioctl definition

2017-07-10 Thread Gleb Fotengauer-Malinovskiy
This ioctl does nothing to justify an _IOC_READ or _IOC_WRITE flag because it doesn't copy anything from/to userspace to access the argument. Fixes: 54ebbfb1 ("tty: add TIOCGPTPEER ioctl") Signed-off-by: Gleb Fotengauer-Malinovskiy --- arch/alpha/include/uapi/asm/ioctls.h |

Re: [PATCH] KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition

2017-07-10 Thread Gleb Fotengauer-Malinovskiy
On Mon, Jul 10, 2017 at 08:43:12PM +0200, Christian Borntraeger wrote: > On 07/10/2017 04:44 PM, Gleb Fotengauer-Malinovskiy wrote: > > This ioctl actually writes to parameter too. > > Maybe rephrase that to: > The kernel does not only read struct kvm_s390_cmma_log for > K

[PATCH v2] KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition

2017-07-10 Thread Gleb Fotengauer-Malinovskiy
o get and set guest storage attributes") Signed-off-by: Gleb Fotengauer-Malinovskiy Acked-by: Christian Borntraeger --- include/uapi/linux/kvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index c0b6dfe..ebd604c 10

[PATCH] KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition

2017-07-10 Thread Gleb Fotengauer-Malinovskiy
This ioctl actually writes to parameter too. Fixes: 4036e387 ("KVM: s390: ioctls to get and set guest storage attributes") Signed-off-by: Gleb Fotengauer-Malinovskiy --- include/uapi/linux/kvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/lin

Re: [PATCH 4.9 031/108] jump label: pass kbuild_cflags when checking for asm goto support

2017-06-19 Thread Gleb Fotengauer-Malinovskiy
On Thu, Jun 15, 2017 at 07:52:37PM +0200, Greg Kroah-Hartman wrote: > 4.9-stable review patch. If anyone has any objections, please let me know. > > -- > > From: David Lin > > > [ Upstream commit 35f860f9ba6aac56cc38e8b18916d833a83f1157 ] This commit introduced a regression w

Re: [PATCH] staging: android: uapi: drop definitions of removed ION_IOC_{FREE,SHARE} ioctls

2017-06-13 Thread Gleb Fotengauer-Malinovskiy
On Tue, May 30, 2017 at 04:33:57PM -0700, Laura Abbott wrote: > On 05/30/2017 07:11 AM, Gleb Fotengauer-Malinovskiy wrote: > > This problem was found by strace ioctl list generator. > > > > Fixes: 15c6098cfec5 ("staging: android: ion: Remove ion_handle and > > io

[PATCH] staging: android: uapi: drop definitions of removed ION_IOC_{FREE,SHARE} ioctls

2017-05-30 Thread Gleb Fotengauer-Malinovskiy
This problem was found by strace ioctl list generator. Fixes: 15c6098cfec5 ("staging: android: ion: Remove ion_handle and ion_client") Signed-off-by: Gleb Fotengauer-Malinovskiy --- drivers/staging/android/uapi/ion.h | 18 -- 1 file changed, 18 deletions(-) diff --git

[PING PATCH v2] jump label: fix passing kbuild_cflags when checking for asm goto support

2017-03-20 Thread Gleb Fotengauer-Malinovskiy
tions are not relevant to this check. Reported-by: Anton V. Boyarshinov Fixes: 35f860f9ba6a ("jump label: pass kbuild_cflags when checking for asm goto support") Cc: sta...@vger.kernel.org # v4.10 Signed-off-by: Gleb Fotengauer-Malinovskiy Signed-off-by: Dmitry V. Levin Acked-b

[PATCH v2] jump label: fix passing kbuild_cflags when checking for asm goto support

2017-03-10 Thread Gleb Fotengauer-Malinovskiy
tions are not relevant to this check. Reported-by: Anton V. Boyarshinov Fixes: 35f860f9ba6a ("jump label: pass kbuild_cflags when checking for asm goto support") Cc: sta...@vger.kernel.org # v4.10 Signed-off-by: Gleb Fotengauer-Malinovskiy Signed-off-by: Dmitry V. Levin --- v2: up

Re: [PATCH] jump label: fix passing kbuild_cflags when checking for asm goto support

2017-03-10 Thread Gleb Fotengauer-Malinovskiy
On Fri, Mar 10, 2017 at 12:04:22PM -0500, Steven Rostedt wrote: > On Fri, 10 Mar 2017 19:24:18 +0300 > Gleb Fotengauer-Malinovskiy wrote: > > > The latest change of asm goto support check added passing of > > KBUILD_CFLAGS to compiler. When these flags reference gcc plugins

[PATCH] jump label: fix passing kbuild_cflags when checking for asm goto support

2017-03-10 Thread Gleb Fotengauer-Malinovskiy
ned-off-by: Gleb Fotengauer-Malinovskiy Signed-off-by: Dmitry V. Levin --- Makefile | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 165cf97..7e3aade 100644 --- a/Makefile +++ b/Makefile @@ -653,6 +653,12 @@ KBUILD_CFLAGS += $(call cc-ifve