Message ID | 20171007122122.6470-1-sven@narfation.org (mailing list archive) |
---|---|
State | Accepted, archived |
Commit | 0ce469be3baf302612379995611ae285a886fb57 |
Delegated to: | Simon Wunderlich |
Headers |
Return-Path: <b.a.t.m.a.n-bounces@lists.open-mesh.org> X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from open-mesh.org (localhost [IPv6:::1]) by open-mesh.org (Postfix) with ESMTP id 1C5E780A02; Sat, 7 Oct 2017 14:22:04 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=narfation.org header.i=@narfation.org header.b="yQD885RP"; dkim-atps=neutral Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:4d88:2000:7::2; helo=v3-1039.vlinux.de; envelope-from=sven@narfation.org; receiver=<UNKNOWN> Received: from v3-1039.vlinux.de (narfation.org [IPv6:2001:4d88:2000:7::2]) by open-mesh.org (Postfix) with ESMTPS id 80681809D5 for <b.a.t.m.a.n@lists.open-mesh.org>; Sat, 7 Oct 2017 14:22:02 +0200 (CEST) Received: from sven-desktop.home.narfation.org (p200300C593D546F990818D7E1CB10859.dip0.t-ipconnect.de [IPv6:2003:c5:93d5:46f9:9081:8d7e:1cb1:859]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 44DDC1100F6; Sat, 7 Oct 2017 14:22:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=narfation.org; s=20121; t=1507378920; bh=zyDMaWdx01+M1377mV2K5Xtlo15Fohousnamm5iXd3A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yQD885RP8U6sJhYmOZnrHg/taQSe/llGhWWUb/kfka7bapwtsoskkgKcAwtDEzkME rk5OdPh6OFO0jmAk4A4ZppvhbUTlftaFCqaqnZzDuIuaUL+C0+jm0RFWERnNqsAr2i QnSSb75ssDXmsPNMeGcRCRB//X8zqDEC+UyIahoo= From: Sven Eckelmann <sven@narfation.org> To: b.a.t.m.a.n@lists.open-mesh.org Date: Sat, 7 Oct 2017 14:21:22 +0200 Message-Id: <20171007122122.6470-1-sven@narfation.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171007121853.6278-1-sven@narfation.org> References: <20171007121853.6278-1-sven@narfation.org> Subject: [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: Add missing kerneldoc for extack X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking <b.a.t.m.a.n.lists.open-mesh.org> List-Unsubscribe: <https://lists.open-mesh.org/mm/options/b.a.t.m.a.n>, <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=unsubscribe> List-Archive: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/> List-Post: <mailto:b.a.t.m.a.n@lists.open-mesh.org> List-Help: <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=help> List-Subscribe: <https://lists.open-mesh.org/mm/listinfo/b.a.t.m.a.n>, <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=subscribe> Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking <b.a.t.m.a.n@lists.open-mesh.org> Cc: netdev@vger.kernel.org, davem@davemloft.net, David Ahern <dsahern@gmail.com> Errors-To: b.a.t.m.a.n-bounces@lists.open-mesh.org Sender: "B.A.T.M.A.N" <b.a.t.m.a.n-bounces@lists.open-mesh.org> |
Series |
[1/3] batman-adv: Add extack to ndo_add_slave
|
|
Commit Message
Sven Eckelmann
Oct. 7, 2017, 12:21 p.m. UTC
The parameter extack was added to batadv_softif_slave_add without adding
the kernel-doc for it. This caused kernel-doc warnings.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Cc: David Ahern <dsahern@gmail.com>
---
net/batman-adv/soft-interface.c | 1 +
1 file changed, 1 insertion(+)
Comments
On 10/7/17 6:21 AM, Sven Eckelmann wrote: > The parameter extack was added to batadv_softif_slave_add without adding > the kernel-doc for it. This caused kernel-doc warnings. > > Signed-off-by: Sven Eckelmann <sven@narfation.org> > Cc: David Ahern <dsahern@gmail.com> > --- > net/batman-adv/soft-interface.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c > index 543d2c3e..9f673cdf 100644 > --- a/net/batman-adv/soft-interface.c > +++ b/net/batman-adv/soft-interface.c > @@ -863,6 +863,7 @@ static int batadv_softif_init_late(struct net_device *dev) > * batadv_softif_slave_add - Add a slave interface to a batadv_soft_interface > * @dev: batadv_soft_interface used as master interface > * @slave_dev: net_device which should become the slave interface > + * @extack: extended ACK report struct > * > * Return: 0 if successful or error otherwise. > */ > Thanks for the cleanup. Acked-by: David Ahern <dsahern@gmail.com>
From: Sven Eckelmann <sven@narfation.org> Date: Sat, 7 Oct 2017 14:21:22 +0200 > The parameter extack was added to batadv_softif_slave_add without adding > the kernel-doc for it. This caused kernel-doc warnings. > > Signed-off-by: Sven Eckelmann <sven@narfation.org> > Cc: David Ahern <dsahern@gmail.com> I'm happy to apply this but where are the other two patches of this series and the series header posting?
On Samstag, 7. Oktober 2017 20:59:52 CEST David Miller wrote: > From: Sven Eckelmann <sven@narfation.org> > Date: Sat, 7 Oct 2017 14:21:22 +0200 > > > The parameter extack was added to batadv_softif_slave_add without adding > > the kernel-doc for it. This caused kernel-doc warnings. > > > > Signed-off-by: Sven Eckelmann <sven@narfation.org> > > Cc: David Ahern <dsahern@gmail.com> > > I'm happy to apply this but where are the other two patches of this > series and the series header posting? They are on the b.a.t.m.a.n@lists.open-mesh.org mailing list. And they deal with the "extack" compat problems of the out-of-tree module build. Why were you cc'ed for the patch 3: ================================== David Ahern and David Miller were involved in adding following changes to batman-adv: * net: Add extack to ndo_add_slave * net: Add extack to upper device linking These were not posted to the batman-adv mailing list. An automatic kernel-doc run on a build machine noticed a minor problem in the first patch. Since I was not involved in the original change (and have not checked what was discussed in the past about it), I could only guess how the kernel-doc should have looked like. But you, David Ahern or anyone else from netdev@... could have a different, more educated opinion about the correct documentation - this is why you were Cc'ed. Why are you not Cc'ed on the patch 1+2: ====================================== The changes are about code which is not present in the upstream kernel. It only deals with changes required to build the extracted batman-adv module against a different kernel. These changes were required to get the "extack" stuff working on Linux 4.14 and below. So, it is not really relevant for you but for some people on the b.a.t.m.a.n@lists.open-mesh.org mailing list. This is why everything (including the third patch) was send directly ("To:") to the mentioned mailing list. Are you expected to apply this change: ===================================== I was hoping that Simon is picking the patch up and forwards it do you in a proper pull request. But I would doubt that he has a big problem with you applying this single line kernel-doc change. At least it is less work for him and less extra noise on both mailing lists... But feel free to tell us your preferred solution. Kind regards, Sven
From: Sven Eckelmann <sven@narfation.org> Date: Sun, 08 Oct 2017 09:29:17 +0200 > Are you expected to apply this change: > ===================================== > > I was hoping that Simon is picking the patch up and forwards it do you in a > proper pull request. But I would doubt that he has a big problem with you > applying this single line kernel-doc change. At least it is less work for him > and less extra noise on both mailing lists... > > But feel free to tell us your preferred solution. Ok I'll wait to get this from the next batman-adv pull request then. Thanks.
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c index 543d2c3e..9f673cdf 100644 --- a/net/batman-adv/soft-interface.c +++ b/net/batman-adv/soft-interface.c @@ -863,6 +863,7 @@ static int batadv_softif_init_late(struct net_device *dev) * batadv_softif_slave_add - Add a slave interface to a batadv_soft_interface * @dev: batadv_soft_interface used as master interface * @slave_dev: net_device which should become the slave interface + * @extack: extended ACK report struct * * Return: 0 if successful or error otherwise. */