mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jesper Juhl" <jesper.juhl@gmail.com>
To: "Willy Tarreau" <willy@w.ods.org>
Cc: "Daniel Aragonés" <danarag@gmail.com>,
	"Andrew Morton" <akpm@osdl.org>,
	"Pekka Enberg" <penberg@cs.helsinki.fi>,
	"Arjan van de Ven" <arjan@infradead.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH/RFC] Requested changelog for minix filesystem update to V3
Date: Mon, 1 May 2006 16:21:35 +0200	[thread overview]
Message-ID: <9a8748490605010721t6d41ca01k8a715eaeef5fd948@mail.gmail.com> (raw)
In-Reply-To: <20060501134338.GA11191@w.ods.org>

On 5/1/06, Willy Tarreau <willy@w.ods.org> wrote:
> Hi Jesper,
>
> just a comment below :
>
> On Mon, May 01, 2006 at 03:06:49PM +0200, Jesper Juhl wrote:
> > On 5/1/06, Daniel Aragonés <danarag@gmail.com> wrote:
> [snip]
>
> > >-       i = ((numbits-(numblocks-1)*BLOCK_SIZE*8)/16)*2;
> > >+       i = ((numbits-(numblocks-1)*bh->b_size*8)/16)*2;
> >
> > A few more spaces please :
> >
> >  i = ((numbits-(numblocks-1) * bh->b_size * 8) / 16) * 2;
>
> This spacing is still wrong, because I first read it like this :
>
>   i = (((numbits-(numblocks-1)) * bh->b_size * 8) / 16) * 2;
>
> While in fact it's :
>
>   i = ((numbits-((numblocks-1) * bh->b_size * 8)) / 16) * 2;
>
> Strictly speaking, this should be written this way :
>
>   i = ((numbits - (numblocks - 1) * bh->b_size * 8) / 16) * 2;
>

You are right, I botched that one.


> Or at least :
>
>   i = ((numbits - (numblocks-1) * bh->b_size * 8) / 16) * 2;
>
> Anyway, it's a good sign when only spaces are being discussed on a piece
> of code ;-)
>
> Cheers,
> Willy
>
>

--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

      reply	other threads:[~2006-05-01 14:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01  9:25 Daniel Aragonés
2006-05-01  9:34 ` Andrew Morton
2006-05-01  9:34 ` Pekka Enberg
2006-05-01 12:00 ` Jiri Slaby
2006-05-01 13:06 ` Jesper Juhl
2006-05-01 13:43   ` Willy Tarreau
2006-05-01 14:21     ` Jesper Juhl [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=9a8748490605010721t6d41ca01k8a715eaeef5fd948@mail.gmail.com \
    --to=jesper.juhl@gmail.com \
    --cc=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=danarag@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=penberg@cs.helsinki.fi \
    --cc=willy@w.ods.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®