[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200721135938.46203a0a@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 21 Jul 2020 13:59:38 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Tom Parkin <tparkin@...alix.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 05/29] l2tp: cleanup difficult-to-read line breaks
On Tue, 21 Jul 2020 18:31:57 +0100 Tom Parkin wrote:
> #if IS_ENABLED(CONFIG_IPV6)
> - if (info->attrs[L2TP_ATTR_IP6_SADDR] &&
> - info->attrs[L2TP_ATTR_IP6_DADDR]) {
> - cfg.local_ip6 = nla_data(
> - info->attrs[L2TP_ATTR_IP6_SADDR]);
> - cfg.peer_ip6 = nla_data(
> - info->attrs[L2TP_ATTR_IP6_DADDR]);
> - } else
> + if (attrs[L2TP_ATTR_IP6_SADDR] && attrs[L2TP_ATTR_IP6_DADDR]) {
> + cfg.local_ip6 = nla_data(attrs[L2TP_ATTR_IP6_SADDR]);
> + cfg.peer_ip6 = nla_data(attrs[L2TP_ATTR_IP6_DADDR]);
> + } else {
> #endif
This no longer builds. Probably because you added the closing backet
which wasn't there?
Please make sure each patch in the submission builds cleanly.
Please split this submission into series of at most 15 patches at a
time, to make sure reviewers don't get overloaded.
Please CC people who are working on the l2tp code (get_maintainers
script is your friend).
Powered by blists - more mailing lists