mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Julia Lawall <julia@diku.dk>
Cc: ben.collins@ubuntu.com, linux1394-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH 3/10] drivers/ieee1394: Use DIV_ROUND_UP
Date: Sat, 02 Aug 2008 20:16:13 +0200	[thread overview]
Message-ID: <4894A46D.10607@s5r6.in-berlin.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0808021712460.20095@ask.diku.dk>

Julia Lawall wrote:
> -#define bytes_to_quads(_b) (((_b) + sizeof(u32) - 1) / sizeof(u32))
> +#define bytes_to_quads(_b) DIV_ROUND_UP(_b, sizeof(u32))
...
> -	return (dg_size + adj_max_payload - 1) / adj_max_payload;
> +	return DIV_ROUND_UP(dg_size, adj_max_payload);

I cut the changelog down to the necessary and committed it to 
linux1394-2.6.git.  Thanks,
-- 
Stefan Richter
-=====-==--- =--- ---=-
http://arcgraph.de/sr/

      reply	other threads:[~2008-08-02 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-02 15:13 Julia Lawall
2008-08-02 18:16 ` Stefan Richter [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=4894A46D.10607@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=ben.collins@ubuntu.com \
    --cc=julia@diku.dk \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    /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®