From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Remove multiple assignment per line
Date: Tue, 09 Jun 2015 22:37:24 +0800 [thread overview]
Message-ID: <1546064.rx4ZQj1ZtZ@voltaire> (raw)
In-Reply-To: <1433059821-8521-2-git-send-email-sven@narfation.org>
[-- Attachment #1: Type: text/plain, Size: 1879 bytes --]
On Sunday, May 31, 2015 10:10:21 Sven Eckelmann wrote:
> The Linux CodingStyle disallows multiple assignments in a single line.
> (see chapter 1)
>
> Reported-by: Markus Pargmann <mpa@pengutronix.de>
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> net/batman-adv/bat_iv_ogm.c | 6 ++++--
> net/batman-adv/bridge_loop_avoidance.c | 6 ++++--
> net/batman-adv/distributed-arp-table.c | 3 ++-
> net/batman-adv/gateway_client.c | 15 ++++++++++-----
> net/batman-adv/gateway_common.c | 5 ++++-
> net/batman-adv/network-coding.c | 3 ++-
> net/batman-adv/translation-table.c | 18 +++++++++++++-----
> 7 files changed, 39 insertions(+), 17 deletions(-)
Tried to merge this patch but it greeted me with extensive complaints:
patching file net/batman-adv/bat_iv_ogm.c
Hunk #1 succeeded at 1004 (offset -2 lines).
Hunk #2 succeeded at 1405 (offset -2 lines).
patching file net/batman-adv/bridge_loop_avoidance.c
Hunk #1 succeeded at 88 (offset -1 lines).
Hunk #2 succeeded at 106 (offset -1 lines).
patching file net/batman-adv/distributed-arp-table.c
patching file net/batman-adv/gateway_client.c
Hunk #1 FAILED at 153.
Hunk #3 FAILED at 352.
2 out of 4 hunks FAILED -- saving rejects to file net/batman-adv/gateway_client.c.rej
patching file net/batman-adv/gateway_common.c
Hunk #1 FAILED at 149.
1 out of 1 hunk FAILED -- saving rejects to file net/batman-adv/gateway_common.c.rej
patching file net/batman-adv/network-coding.c
Hunk #1 succeeded at 886 (offset -1 lines).
patching file net/batman-adv/translation-table.c
Hunk #1 FAILED at 461.
Hunk #2 FAILED at 535.
Hunk #3 FAILED at 723.
Hunk #4 FAILED at 796.
Hunk #5 FAILED at 853.
5 out of 5 hunks FAILED -- saving rejects to file net/batman-adv/translation-table.c.rej
Maybe I messed up the patch merge order ? Do you mind
resending a 'clean' version ?
Thanks,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2015-06-09 14:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-31 8:10 [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Fix kerneldoc over 80 column lines Sven Eckelmann
2015-05-31 8:10 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Remove multiple assignment per line Sven Eckelmann
2015-06-09 14:37 ` Marek Lindner [this message]
2015-06-09 14:30 ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Fix kerneldoc over 80 column lines Marek Lindner
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=1546064.rx4ZQj1ZtZ@voltaire \
--to=mareklindner@neomailbox.ch \
--cc=b.a.t.m.a.n@lists.open-mesh.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