All of lore.kernel.org
 help / color / mirror / Atom feed
From: Willy Tarreau <willy@w.ods.org>
To: Jesper Juhl <jesper.juhl@gmail.com>
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 15:43:38 +0200	[thread overview]
Message-ID: <20060501134338.GA11191@w.ods.org> (raw)
In-Reply-To: <9a8748490605010606j70a25cdcqe23b1c0684a1f710@mail.gmail.com>

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;

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


  reply	other threads:[~2006-05-01 13:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01  9:25 [PATCH/RFC] Requested changelog for minix filesystem update to V3 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 [this message]
2006-05-01 14:21     ` Jesper Juhl

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=20060501134338.GA11191@w.ods.org \
    --to=willy@w.ods.org \
    --cc=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=danarag@gmail.com \
    --cc=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=penberg@cs.helsinki.fi \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.