mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felipe Balbi <me@felipebalbi.com>
To: Ben Nizette <bn@niasdigital.com>
Cc: Joe Perches <joe@perches.com>, linux-kernel@vger.kernel.org
Subject: Re: Question of resource_size() implementation
Date: Wed, 30 Dec 2009 03:11:54 +0200	[thread overview]
Message-ID: <1262135514.28789.146.camel@gandalf> (raw)
In-Reply-To: <0CE3DF69-C498-44BA-8CEA-C9AA5DB4CF84@niasdigital.com>

On Wed, 2009-12-30 at 12:08 +1100, Ben Nizette wrote:
> IOW it's a matter of convention.  Either we could define a single-byte 
> range to be end=start and put the +1 in the resource_size or we could 
> define a single-byte range to be end=start+1 and leave the +1 out of
> resource_size.  The in-kernel convention is the former

ok, thanks for the explanation Ben.

-- 
balbi


      reply	other threads:[~2009-12-30  1:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-29 23:43 Felipe Balbi
     [not found] ` <1262131932.1888.202.camel@Joe-Laptop.home>
2009-12-30  0:16   ` Felipe Balbi
2009-12-30  1:04     ` Ben Nizette
2009-12-30  1:08       ` Ben Nizette
2009-12-30  1:11         ` Felipe Balbi [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=1262135514.28789.146.camel@gandalf \
    --to=me@felipebalbi.com \
    --cc=bn@niasdigital.com \
    --cc=joe@perches.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®