* Patch "staging: android: uapi: drop definitions of removed ION_IOC_{FREE,SHARE} ioctls" has been added to the 4.12-stable tree
@ 2017-07-17 16:52 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-07-17 16:52 UTC (permalink / raw)
To: glebfm, gregkh, labbott, ldv; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
staging: android: uapi: drop definitions of removed ION_IOC_{FREE,SHARE} ioctls
to the 4.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
staging-android-uapi-drop-definitions-of-removed-ion_ioc_-free-share-ioctls.patch
and it can be found in the queue-4.12 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From f7a320ffebe2bdce3a189ecb531a401c653f754f Mon Sep 17 00:00:00 2001
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Date: Tue, 30 May 2017 17:11:35 +0300
Subject: staging: android: uapi: drop definitions of removed ION_IOC_{FREE,SHARE} ioctls
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
commit f7a320ffebe2bdce3a189ecb531a401c653f754f upstream.
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 <glebfm@altlinux.org>
Acked-by: Laura Abbott <labbott@redhat.com>
Cc: "Dmitry V. Levin" <ldv@altlinux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/staging/android/uapi/ion.h | 18 ------------------
1 file changed, 18 deletions(-)
--- a/drivers/staging/android/uapi/ion.h
+++ b/drivers/staging/android/uapi/ion.h
@@ -131,24 +131,6 @@ struct ion_heap_query {
struct ion_allocation_data)
/**
- * DOC: ION_IOC_FREE - free memory
- *
- * Takes an ion_handle_data struct and frees the handle.
- */
-#define ION_IOC_FREE _IOWR(ION_IOC_MAGIC, 1, struct ion_handle_data)
-
-/**
- * DOC: ION_IOC_SHARE - creates a file descriptor to use to share an allocation
- *
- * Takes an ion_fd_data struct with the handle field populated with a valid
- * opaque handle. Returns the struct with the fd field set to a file
- * descriptor open in the current address space. This file descriptor
- * can then be passed to another process. The corresponding opaque handle can
- * be retrieved via ION_IOC_IMPORT.
- */
-#define ION_IOC_SHARE _IOWR(ION_IOC_MAGIC, 4, struct ion_fd_data)
-
-/**
* DOC: ION_IOC_HEAP_QUERY - information about available heaps
*
* Takes an ion_heap_query structure and populates information about
Patches currently in stable-queue which might be from glebfm@altlinux.org are
queue-4.12/staging-android-uapi-drop-definitions-of-removed-ion_ioc_-free-share-ioctls.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-17 16:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-17 16:52 Patch "staging: android: uapi: drop definitions of removed ION_IOC_{FREE,SHARE} ioctls" has been added to the 4.12-stable tree gregkh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.