mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: Fernando Guzman Lugo <x0095840@ti.com>
Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
	Hiroshi.DOYU@nokia.com, h-kanigeri2@ti.com
Subject: Re: [PATCH] iommu: fix end address of vm area comparation in alloc_iovm_area
Date: Sun, 10 Oct 2010 19:38:25 +0300	[thread overview]
Message-ID: <AANLkTi=ohFYHTgbUNP3cZ5npAFP-toUwSWk3stvg4uYR@mail.gmail.com> (raw)
In-Reply-To: <1282064161-21056-1-git-send-email-x0095840@ti.com>

On Tue, Aug 17, 2010 at 7:56 PM, Fernando Guzman Lugo <x0095840@ti.com> wrote:
> End address of the vm area is .start + bytes -1., not start + byte.
> This patch fixes that issue by doing an inclusive comparison with
> tmp->da_start. This issue was preventing allocate an area of size
> exactly the same than the free area. I did no change the value of
> da_end of each vm area because it is used to get area size in
> several places.
>
> Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
> Acked-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>

-- 
Felipe Contreras

  reply	other threads:[~2010-10-10 16:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-17 16:56 Fernando Guzman Lugo
2010-10-10 16:38 ` Felipe Contreras [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-08-17  3:51 Guzman Lugo, Fernando
2010-08-17  4:48 ` Guzman Lugo, Fernando
2010-08-17  5:27   ` Hiroshi DOYU
2010-08-17  6:08     ` Guzman Lugo, Fernando

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='AANLkTi=ohFYHTgbUNP3cZ5npAFP-toUwSWk3stvg4uYR@mail.gmail.com' \
    --to=felipe.contreras@gmail.com \
    --cc=Hiroshi.DOYU@nokia.com \
    --cc=h-kanigeri2@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=x0095840@ti.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®