Re: [PATCH] arch: net: bpf_jit_comp: Fixed coding style issues.

From: David Miller
Date: Sat Feb 04 2012 - 16:55:27 EST


From: Mbarek Firas <mbarekfiras@xxxxxxxxx>
Date: Fri, 3 Feb 2012 01:38:15 +0100

> - COND_SEL(BPF_S_JMP_JGT_K, X86_JA, X86_JBE);
> - COND_SEL(BPF_S_JMP_JGE_K, X86_JAE, X86_JB);
> - COND_SEL(BPF_S_JMP_JEQ_K, X86_JE, X86_JNE);
> - COND_SEL(BPF_S_JMP_JSET_K,X86_JNE, X86_JE);
> - COND_SEL(BPF_S_JMP_JGT_X, X86_JA, X86_JBE);
> - COND_SEL(BPF_S_JMP_JGE_X, X86_JAE, X86_JB);
> - COND_SEL(BPF_S_JMP_JEQ_X, X86_JE, X86_JNE);
> - COND_SEL(BPF_S_JMP_JSET_X,X86_JNE, X86_JE);
> + COND_SEL(BPF_S_JMP_JGT_K, X86_JA, X86_JBE);
> + COND_SEL(BPF_S_JMP_JGE_K, X86_JAE, X86_JB);
> + COND_SEL(BPF_S_JMP_JEQ_K, X86_JE, X86_JNE);
> + COND_SEL(BPF_S_JMP_JSET_K, X86_JNE, X86_JE);

This is rediculious, it's not fixing anything.

There is no requirement that all the arguments have to line up
to the same column on every line.

I'm not applying this patch.
--
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/