Re: [PATCH 4/7] lib/random32.c: Use <asm/unaligned.h> instead of hand-rolling it
From: Daniel Borkmann
Date: Tue Jun 10 2014 - 11:13:25 EST
On 06/08/2014 02:40 PM, George Spelvin wrote:
...
+ for (i = 0; i < round_down(bytes, sizeof(u32)); i += sizeof(u32))
+ put_unaligned_le32(prandom_u32_state(state), p+i);
Nit: 'p + i'
I don't really care, but I'm happy without the spaces; I add them
to show what binds more weakly, and in this case that's the
argument-separating comma.
If you invent such things, then first send a patch to
Documentation/CodingStyle to change and discuss this.
Otherwise, I urge you to read:
vi Documentation/CodingStyle +206
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/