From: Tony Lindgren <tony@atomide.com>
To: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH 4/8] Add kfifo_get_to_user to copy data to userland directly
Date: Fri, 10 Aug 2007 02:20:02 -0700 [thread overview]
Message-ID: <20070810092001.GJ8658@atomide.com> (raw)
In-Reply-To: <20070807.125855.68055973.Hiroshi.DOYU@nokia.com>
Hi,
* Hiroshi DOYU <Hiroshi.DOYU@nokia.com> [070807 04:19]:
> From: "ext Trilok Soni" <soni.trilok@gmail.com>
> Subject: Re: [PATCH 4/8] Add kfifo_get_to_user to copy data to userland directly
> Date: Mon, 6 Aug 2007 19:01:10 +0530
>
> > Hi Doyu-San,
> >
> > On 7/30/07, Hiroshi.DOYU@nokia.com <Hiroshi.DOYU@nokia.com> wrote:
> > > From: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
> > >
> > > Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
> > > ---
> > > include/linux/kfifo.h | 35 ++++++++++++++++++++++++++++++
> > > kernel/kfifo.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++
> > > 2 files changed, 92 insertions(+), 0 deletions(-)
> > >
> > > diff --git a/include/linux/kfifo.h b/include/linux/kfifo.h
> > > index 404f446..2dd610d 100644
> > > --- a/include/linux/kfifo.h
> > > +++ b/include/linux/kfifo.h
> > > @@ -43,6 +43,9 @@ extern unsigned int __kfifo_put(struct kfifo *fifo,
> > > unsigned char *buffer, unsigned int len);
> > > extern unsigned int __kfifo_get(struct kfifo *fifo,
> > > unsigned char *buffer, unsigned int len);
> > > +extern unsigned int __kfifo_get_to_user(struct kfifo *fifo,
> > > + unsigned char __user *buffer,
> > > + unsigned int len);
> > >
> >
> > Thanx. Finally that local fifo implementation is gone. Could you
> > please submit this patch to LKML also?
>
> I got it. In that case, "__kfifo_put_from_user()" may be also necessary.
Pushing the series today. Yeah, please send the kfifo patches to LKML
for review and integration.
Regards,
Tony
prev parent reply other threads:[~2007-08-10 9:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-30 11:03 [PATCH 1/8] ARM: OMAP: Fix omap mmu framework for omap1 Hiroshi.DOYU
2007-07-30 11:03 ` [PATCH 2/8] " Hiroshi.DOYU
2007-07-30 11:04 ` [PATCH 3/8] DSPGW: Remove CONFIG_OMAP_DSP_TASK_MULTIOPEN Hiroshi.DOYU
2007-07-30 11:04 ` [PATCH 4/8] Add kfifo_get_to_user to copy data to userland directly Hiroshi.DOYU
2007-07-30 11:04 ` [PATCH 5/8] DSPGW: Use kfifo APIs instead of homemade ones Hiroshi.DOYU
2007-07-30 11:04 ` [PATCH 6/8] DSPGW: Use ALIGN macro instead of homemade one Hiroshi.DOYU
2007-07-30 11:04 ` [PATCH 7/8] ARM: OMAP: Fix Unbalanced enable for IRQ in omap mailbox Hiroshi.DOYU
2007-07-30 11:04 ` [PATCH 8/8] ARM: OMAP: Add MMU TWL support for omap1 Hiroshi.DOYU
2007-08-06 13:31 ` [PATCH 4/8] Add kfifo_get_to_user to copy data to userland directly Trilok Soni
2007-08-07 9:58 ` Hiroshi DOYU
2007-08-10 9:20 ` Tony Lindgren [this message]
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=20070810092001.GJ8658@atomide.com \
--to=tony@atomide.com \
--cc=Hiroshi.DOYU@nokia.com \
--cc=linux-omap-open-source@linux.omap.com \
/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