Thread (36 messages) flat view 36 messages, 10 authors, 2007-07-25

Re: [patch 1/3] ps3: Disk Storage Driver

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2007-07-24 16:46:20
Also in: linux-scsi, lkml

On Tue, 24 Jul 2007 08:37:09 -0400 Jeff Garzik [off-list ref] wrote:
Andy Whitcroft wrote:
quoted
Andrew Morton wrote:
quoted
quoted
+	start_sector = req->sector*priv->blocking_factor;
+	sectors = req->nr_sectors*priv->blocking_factor;
s/*/ * /.  checkpatch missed this.
Ok, this is something we need to decide on.  Currently we only ask for
consistent spacing on all the mathematic operators.  This is mostly as
we do see a large number of non-spaced uses in defines and the like.

I am happy to expand these tests so they are always spaced on both sides
style if that is the preference.
That is most definitely the preference:  spaces surround operators.
I must say that I find it hard to object to

	start = radix_tree_next_hole(&mapping->page_tree, offset, max+1);

but when the expression is more complex the spaces help.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help