From: John Stultz <john.stultz@linaro.org>
To: lkml <linux-kernel@vger.kernel.org>
Cc: "Dmitry Pervushin" <dmitry.pervushin@linaro.org>,
"Erik Gilling" <konkers@android.com>,
"Greg KH" <gregkh@linuxfoundation.org>,
"Bernhard Rosenkränzer" <Bernhard.Rosenkranzer@linaro.org>,
"Android Kernel Team" <kernel-team@android.com>,
"John Stultz" <john.stultz@linaro.org>
Subject: [PATCH] staging: sync: Add compat_ioctl handlers to sync drivers
Date: Fri, 29 Mar 2013 10:50:02 -0700 [thread overview]
Message-ID: <1364579403-28621-1-git-send-email-john.stultz@linaro.org> (raw)
From: Dmitry Pervushin <dmitry.pervushin@linaro.org>
The sync drivers are missing compat_ioctl handlers, so this
patch adds them.
Cc: Erik Gilling <konkers@android.com>
Cc: Greg KH <gregkh@linuxfoundation.org>
Cc: Dmitry Pervushin <dmitry.pervushin@linaro.org>
Cc: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Cc: Android Kernel Team <kernel-team@android.com>
Signed-off-by: Dmitry Pervushin <dmitry.pervushin@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
---
This applies against staging-next.
The same change has been submitted to AOSP:
https://android-review.googlesource.com/#/c/54901/
Change-Id: If1a1ecc3952b321c8d64c6a8b050104859efc4b1
drivers/staging/android/sw_sync.c | 1 +
drivers/staging/android/sync.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c
index ec7de30..4928f93 100644
--- a/drivers/staging/android/sw_sync.c
+++ b/drivers/staging/android/sw_sync.c
@@ -239,6 +239,7 @@ static const struct file_operations sw_sync_fops = {
.open = sw_sync_open,
.release = sw_sync_release,
.unlocked_ioctl = sw_sync_ioctl,
+ .compat_ioctl = sw_sync_ioctl,
};
static struct miscdevice sw_sync_dev = {
diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c
index bf66c19..3893a35 100644
--- a/drivers/staging/android/sync.c
+++ b/drivers/staging/android/sync.c
@@ -248,6 +248,7 @@ static const struct file_operations sync_fence_fops = {
.release = sync_fence_release,
.poll = sync_fence_poll,
.unlocked_ioctl = sync_fence_ioctl,
+ .compat_ioctl = sync_fence_ioctl,
};
static struct sync_fence *sync_fence_alloc(const char *name)
--
1.7.10.4
reply other threads:[~2013-03-29 17:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364579403-28621-1-git-send-email-john.stultz@linaro.org \
--to=john.stultz@linaro.org \
--cc=Bernhard.Rosenkranzer@linaro.org \
--cc=dmitry.pervushin@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=kernel-team@android.com \
--cc=konkers@android.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®