mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "J.R. Mauro" <jrm8005@gmail.com>
To: "Christoph Hellwig" <hch@infradead.org>
Cc: "Paul Mackerras" <paulus@samba.org>, "Greg KH" <greg@kroah.com>,
	"Stephen Rothwell" <sfr@canb.auug.org.au>,
	LKML <linux-kernel@vger.kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	"William L. Irwin" <wli@holomorphy.com>,
	vijaykumar@bravegnu.org, jayakumar.lkml@gmail.com,
	sparclinux@vger.kernel.org
Subject: Re: sparc/staging compile error
Date: Thu, 6 Nov 2008 12:36:11 -0500	[thread overview]
Message-ID: <3aaafc130811060936u371e8b9eyccd0c52693f4c433@mail.gmail.com> (raw)
In-Reply-To: <20081106173224.GA25767@infradead.org>

On Thu, Nov 6, 2008 at 12:32 PM, Christoph Hellwig <hch@infradead.org> wrote:
> On Thu, Nov 06, 2008 at 09:06:36AM -0500, J.R. Mauro wrote:
>> static int poch_ioctl(struct inode *inode, struct file *filp,
>>                       unsigned int cmd, unsigned long arg)
>> {
>> /* ---snip---*/
>>         case POCH_IOC_SYNC_GROUP_FOR_USER:
>>         case POCH_IOC_SYNC_GROUP_FOR_DEVICE:
>>                 vms = find_vma(current->mm, arg);
>>                 if (!vms)
>>                         /* Address not mapped. */
>>                         return -EINVAL;
>>                 if (vms->vm_file != filp)
>>                         /* Address mapped from different device/file. */
>>                         return -EINVAL;
>>
>>                 flush_cache_range(vms, arg, arg + channel->group_size);
>
> This doesn't look like something a driver should ever do.  Could someone
> explain what it's trying to do from a high level point of view?
>
>

CC'd driver maintainers mentioned in the README

  reply	other threads:[~2008-11-06 17:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-06  5:36 Stephen Rothwell
2008-11-06  6:37 ` Greg KH
2008-11-06  6:39   ` David Miller
2008-11-06 10:32   ` Paul Mackerras
2008-11-06 14:06     ` J.R. Mauro
2008-11-06 17:32       ` Christoph Hellwig
2008-11-06 17:36         ` J.R. Mauro [this message]
2008-11-07  8:40           ` Vijay Kumar
2008-11-07 23:06             ` Benjamin Herrenschmidt
2008-11-11  6:58               ` Vijay Kumar

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=3aaafc130811060936u371e8b9eyccd0c52693f4c433@mail.gmail.com \
    --to=jrm8005@gmail.com \
    --cc=davem@davemloft.net \
    --cc=greg@kroah.com \
    --cc=hch@infradead.org \
    --cc=jayakumar.lkml@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=sfr@canb.auug.org.au \
    --cc=sparclinux@vger.kernel.org \
    --cc=vijaykumar@bravegnu.org \
    --cc=wli@holomorphy.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

all inboxes | Powered by JetHome®