From patchwork Fri Sep 16 16:14:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Wunderlich X-Patchwork-Id: 12978711 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7AA54C54EE9 for ; Fri, 16 Sep 2022 16:15:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229600AbiIPQPN (ORCPT ); Fri, 16 Sep 2022 12:15:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230043AbiIPQPG (ORCPT ); Fri, 16 Sep 2022 12:15:06 -0400 Received: from simonwunderlich.de (simonwunderlich.de [IPv6:2a01:4f8:c17:e8c0::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 826DB4DB72 for ; Fri, 16 Sep 2022 09:15:04 -0700 (PDT) Received: from kero.packetmixer.de (p200300c5973C57D0711F6270F7f2cD25.dip0.t-ipconnect.de [IPv6:2003:c5:973c:57d0:711f:6270:f7f2:cd25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simonwunderlich.de (Postfix) with ESMTPSA id 84F65FA2A4; Fri, 16 Sep 2022 18:15:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simonwunderlich.de; s=09092022; t=1663344902; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YuaSs/a1YgtPIPV6n1vLY2PrA5VcxVcfR87EgRqxVlE=; b=F3bZR1Tp62kN5GBRXxXmLtIF3nTzZ4PBYOEvFt5TkOP7rdbMOelI+mDIkvooRvCaZAn3IR v4oJdm7FWEQHVIMuivLjI7SHoewSc34lpods/rVQ/QctLwOLK19oRMo4c+cLKxWg5y1xaA 3G4BGSaTO6EbskbEuCSknKzZ1bOJP73bRA8DvZqZylR1oqKRrXmETRUuw81w4GdjmeBjMy 2doobXQbkNy0AQ3QYd6UnYE7nKg9pHgTLoSE2LquQ0W/cPDdWkdQy+bCkjBuQU+9UxYey+ USTt6mZYcae/lVdIO1JKRh/a/pQ6Rsvn29pvUU8oLwftxZIfXvmM8fQ/WKr7fg== From: Simon Wunderlich To: kuba@kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Simon Wunderlich Subject: [PATCH 1/4] batman-adv: Start new development cycle Date: Fri, 16 Sep 2022 18:14:51 +0200 Message-Id: <20220916161454.1413154-2-sw@simonwunderlich.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220916161454.1413154-1-sw@simonwunderlich.de> References: <20220916161454.1413154-1-sw@simonwunderlich.de> MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=simonwunderlich.de; s=09092022; t=1663344902; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YuaSs/a1YgtPIPV6n1vLY2PrA5VcxVcfR87EgRqxVlE=; b=RBIxnp7hCM8ANP3J5+jr58SxcvsaAQdZi3vMRtwuhPYO42xAWU4PYOOVsivbBvgCHdjgh1 0LHVUoHCUfP5cIGPHO4Zr5sgbdEW+pYVho/Y95G2dhNqO7hb4/a1gbPhc2Tu8vf4ZS1wYw C1DdIt1UoA4hIYPTrSSmfcFrO7pi6Axoysh2qfuqv9JbTdv3lF97emiW+BpBCAKkKfjba8 PgMh6qSvRrXIzIdjlO66zW8nKT3mZfI8PPOAs+g7sgRPmIF2FohncS5v8LRXLqwzCMdzng Bhbied31mY1Z6c23sMUzosfOrIwIjkm9EaxHN/b/AXLy/R7jEsIiV7j3icAKvA== ARC-Seal: i=1; s=09092022; d=simonwunderlich.de; t=1663344902; a=rsa-sha256; cv=none; b=UTXsGHGGhy2XKGGGslmY+xNvVROSdkEGydCNAfZ/h6cmLbB6Sf8RXU9+f+/+vpzjTqesXS0YNkxROpgY0FtGwB27Xc7XZL4Uvyq0j0LYVMAuBpfDIA2rXbvTDxOv2b+LUjazLensUDKJlq/vumeMIgwsvKSXVo5NrvA/Gep5KYXFTw8Et4fNrVm1EsjdAgy2Y1K8hIhh5y6ajJlSX3AyQW9rfzPUpbKrjHQOHkjjz5CfS8oCLJOD4/J02Z/iC7s+hKUv8LbRI5wblBge1DsY0lnJjSjw9+u5jRAmkqFK0YT/3RxJJ6O37/Zg0Sq/sKJmDETgosnzuWcX3taq9wEkPg== ARC-Authentication-Results: i=1; simonwunderlich.de; auth=pass smtp.auth=sw@simonwunderlich.de smtp.mailfrom=sw@simonwunderlich.de Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org This version will contain all the (major or even only minor) changes for Linux 6.1. The version number isn't a semantic version number with major and minor information. It is just encoding the year of the expected publishing as Linux -rc1 and the number of published versions this year (starting at 0). Signed-off-by: Simon Wunderlich --- net/batman-adv/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index 23f3d53f4b51..c48803b32bb0 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h @@ -13,7 +13,7 @@ #define BATADV_DRIVER_DEVICE "batman-adv" #ifndef BATADV_SOURCE_VERSION -#define BATADV_SOURCE_VERSION "2022.2" +#define BATADV_SOURCE_VERSION "2022.3" #endif /* B.A.T.M.A.N. parameters */ From patchwork Fri Sep 16 16:14:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Wunderlich X-Patchwork-Id: 12978712 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3259ECAAA1 for ; Fri, 16 Sep 2022 16:15:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229662AbiIPQPP (ORCPT ); Fri, 16 Sep 2022 12:15:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230044AbiIPQPG (ORCPT ); Fri, 16 Sep 2022 12:15:06 -0400 Received: from simonwunderlich.de (simonwunderlich.de [IPv6:2a01:4f8:c17:e8c0::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6D843AE4D for ; Fri, 16 Sep 2022 09:15:04 -0700 (PDT) Received: from kero.packetmixer.de (p200300C5973C57d0711F6270f7F2CD25.dip0.t-ipconnect.de [IPv6:2003:c5:973c:57d0:711f:6270:f7f2:cd25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simonwunderlich.de (Postfix) with ESMTPSA id 01007FA2A5; Fri, 16 Sep 2022 18:15:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simonwunderlich.de; s=09092022; t=1663344903; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YiYIf19NZMvrgYTDbEC0Yn/Ui+xRGAjJs0Zdx9nGGk8=; b=lPEroSZhkorvQmiuf2OjEKBN7ieXiBUqCtkD+jGertl6P2hs0O+qF2fOywXgs74IvTH9b1 LyBI/tQUHF0s7KK+480rk16qe6JDwXJY3+H5U9b8SEp2S/JoaWHPkQQN11zFlCS2EMdgai sY0t2+kVSK3DNFZgkfaZrPkOBCT4TrbpG4Visp0e0Zfg1kMnFn3PaYiMXGAnemwqPbmq5F pS7X6DIofidyfjZYnYmcPzI2o/+mfzrtuhJn6Wd24lM2EMl2tqlhqkuURP/M/IsX4zUxQJ R+e87FqYdnbFBhGia5um1/gYbOegl7MYuxgER7V6WlajRUNGvT3ft0UcB/KfaA== From: Simon Wunderlich To: kuba@kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Sven Eckelmann , Simon Wunderlich Subject: [PATCH 2/4] batman-adv: Drop unused headers in trace.h Date: Fri, 16 Sep 2022 18:14:52 +0200 Message-Id: <20220916161454.1413154-3-sw@simonwunderlich.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220916161454.1413154-1-sw@simonwunderlich.de> References: <20220916161454.1413154-1-sw@simonwunderlich.de> MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=simonwunderlich.de; s=09092022; t=1663344903; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YiYIf19NZMvrgYTDbEC0Yn/Ui+xRGAjJs0Zdx9nGGk8=; b=eb17oQAPKX1swE8TSnr+BTKr7BDT6y2WassodJkx4LJ2VtRBD0Jlt8qEturYhDryrnjH+3 i5+eGZ0OfmzvNS90YdlPkC7PSsbU+dkmKsuaTKQGDRzL6xeMx8rUyCT9wLS++xOKz1wqb8 AdCrz0lJr7Wjl4535K7qdZFuamOp4v/1uVysCaNca/j1o31/U/5aKsYDkuGP20HGvzO5L7 /1SfRR9DNByLrLvkhQkZHno8ljiqws65WkrpNmE4IInYfE1g6bO4W9LrlIm3gUoLqHUs92 fh+xFStH5ig5IJf8AbDry41RA+OZNjRUCINzYDqe3oFxbrk2OZhXoz7Lmq16BA== ARC-Seal: i=1; s=09092022; d=simonwunderlich.de; t=1663344903; a=rsa-sha256; cv=none; b=0VZVMo3njPxz2tJKlJsGgjioZsW0TWdB5ClthMCCbq4VqCpRTkDNLzdOqLyvxVfhi/rA2JpEbeFCq5vs7ntq7YWOrj7RjnNOd+7V14EaV6qTa8xnt/01ABptHhhmpBWVukglWfKvTjo8++J7s+feEDn+xxnJOpcMc2mPaa1w5YOs4fWdEOma4fb1/7XrGn/qUswOQO++6o2rA3dRpM13XjznORpl+GQ+6at+Vtj6sTsRb+J7JyL4V/lRPYTSmYRSaLKm2u6Ue25FcU6mOCZM1u1YdBJQ+Dgc45vgoiv3i27X4Ylavb3A1AHxbu76Qloq8hfFuiBI+yTvoDNWoTfayQ== ARC-Authentication-Results: i=1; simonwunderlich.de; auth=pass smtp.auth=sw@simonwunderlich.de smtp.mailfrom=sw@simonwunderlich.de Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Sven Eckelmann The commit 9abc291812d7 ("batman-adv: tracing: Use the new __vstring() helper") removed the usage of WARN_ON_ONCE and __dynamic_array in this file. But it was forgotten to adjust the headers accordingly (dropping the now no longer used ones). Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- net/batman-adv/trace.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/batman-adv/trace.h b/net/batman-adv/trace.h index 31c8f922651d..5dd52bc5cabb 100644 --- a/net/batman-adv/trace.h +++ b/net/batman-adv/trace.h @@ -9,8 +9,6 @@ #include "main.h" -#include -#include #include #include #include From patchwork Fri Sep 16 16:14:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Wunderlich X-Patchwork-Id: 12978713 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC0D4ECAAD8 for ; Fri, 16 Sep 2022 16:15:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229471AbiIPQPQ (ORCPT ); Fri, 16 Sep 2022 12:15:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229997AbiIPQPG (ORCPT ); Fri, 16 Sep 2022 12:15:06 -0400 Received: from simonwunderlich.de (simonwunderlich.de [IPv6:2a01:4f8:c17:e8c0::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7930945F62 for ; Fri, 16 Sep 2022 09:15:05 -0700 (PDT) Received: from kero.packetmixer.de (p200300C5973C57d0711F6270f7F2CD25.dip0.t-ipconnect.de [IPv6:2003:c5:973c:57d0:711f:6270:f7f2:cd25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simonwunderlich.de (Postfix) with ESMTPSA id 4CA71FA2A7; Fri, 16 Sep 2022 18:15:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simonwunderlich.de; s=09092022; t=1663344903; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PuTOt8b+OPbDqWTsMFNEW4UtlKlZMhSm80wCFhpgQFA=; b=fX+10PJQREX9GAhImHT9aAFydYB7tbDH1c3M1NDxwYDrkjDEBXQRHs/uP/pR2kbJNQAsix 9hTPk0rW4vORg48EDnjFaWM70lhkeLoUvMhZtm8nbsB50fZoLxXIjyb6bVmTPtJjDDvex7 oN0pGePKs9U0vcHpHz7phK+Zu623gb92jNIZ8+mPrcZgMXN5IGWmtxX13yS1gwiER9dRoX JCTS8L7q63Thdo+BrTcCtNOv7U7SO73k7xFrdGz5WY1za0unezPfHtHL4bnqHuqUYLzeN6 2+xTYDU1/28ggux1vSlfolujNkg5/pgaeJOOll5ixlccnR/DLLzD5yqY/EMNkw== From: Simon Wunderlich To: kuba@kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Sven Eckelmann , Simon Wunderlich Subject: [PATCH 3/4] batman-adv: Drop initialization of flexible ethtool_link_ksettings Date: Fri, 16 Sep 2022 18:14:53 +0200 Message-Id: <20220916161454.1413154-4-sw@simonwunderlich.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220916161454.1413154-1-sw@simonwunderlich.de> References: <20220916161454.1413154-1-sw@simonwunderlich.de> MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=simonwunderlich.de; s=09092022; t=1663344903; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PuTOt8b+OPbDqWTsMFNEW4UtlKlZMhSm80wCFhpgQFA=; b=zAatyyZRKG8RL25MUZFBL4Qmxopnd8q5ojZTF8b3zHKKjSI3GGllrz5awh1s7nOB02Evd1 F50Upogr9IFjF1201rkdzB/w7fZbA1D+lpVVAE7MCfnsXLBbPwRIVp4UDV3KY9Vs8mXhMA tgsfgu6IBkBRkhSYY+D0y9yEjeWzqoPM7LxXobr5z8DKxc+peYCBRDASxNc08qERbhC/WT 8wX+5zjW+RwMw4QllmQA4RRDFGDl+rO+9crrWrYHyRrPjZuqo/M8IPdinj4R4ZcMlrCf/1 FzI5xNL8bczWyY2rlBbGH0prdJg0l/Sl6wsqCj597otWsEH4TjZh+3jdreSiYQ== ARC-Seal: i=1; s=09092022; d=simonwunderlich.de; t=1663344903; a=rsa-sha256; cv=none; b=I8onI6JRjo0D91JgKAsesJRXJ99w7AVAb84PFEO6PROVdx/grF6+jqwvPXD6kRqTnKerty+1KAGsgDmjeYBlF46Vo2MqSyZxF0l1PjeH0QzjoYVtgHR4WPFXlGkclti56kMyeaqKgF4VLhjqQxxuthgv1r/TMd17bz0ZSTFHgmoaJ2QCWy/UtLU7qlT5/TbTRSkAcLG7WeP43JQb7AIgDT8dTYn2e3gFGBhguR/sJs9pFu/wVGqSa+1+gtNvcd7hYnTD2g3vJQtM0n3MydUe+0Cu/nze+Ou23KHh2nNTQMYk4nwcr20i6t3Of9X9vPK4sT0/PitAmpHBMIJVVxBCuA== ARC-Authentication-Results: i=1; simonwunderlich.de; auth=pass smtp.auth=sw@simonwunderlich.de smtp.mailfrom=sw@simonwunderlich.de Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Sven Eckelmann The commit 94dfc73e7cf4 ("treewide: uapi: Replace zero-length arrays with flexible-array members") changed various structures from using 0-length arrays to flexible arrays net/batman-adv/bat_v_elp.c: note: in included file: ./include/linux/ethtool.h:148:38: warning: nested flexible array net/batman-adv/bat_v_elp.c:128:9: warning: using sizeof on a flexible structure In theory, this could be worked around by using {} as initializer for the variable on the stack. But this variable doesn't has to be initialized at all by the caller of __ethtool_get_link_ksettings - everything will be initialized by the callee when no error occurs. Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- net/batman-adv/bat_v_elp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/batman-adv/bat_v_elp.c b/net/batman-adv/bat_v_elp.c index b6db999abf75..f1741fbfb617 100644 --- a/net/batman-adv/bat_v_elp.c +++ b/net/batman-adv/bat_v_elp.c @@ -125,7 +125,6 @@ static u32 batadv_v_elp_get_throughput(struct batadv_hardif_neigh_node *neigh) /* if not a wifi interface, check if this device provides data via * ethtool (e.g. an Ethernet adapter) */ - memset(&link_settings, 0, sizeof(link_settings)); rtnl_lock(); ret = __ethtool_get_link_ksettings(hard_iface->net_dev, &link_settings); rtnl_unlock(); From patchwork Fri Sep 16 16:14:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Wunderlich X-Patchwork-Id: 12978714 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A08A9ECAAA1 for ; Fri, 16 Sep 2022 16:15:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229838AbiIPQPS (ORCPT ); Fri, 16 Sep 2022 12:15:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229968AbiIPQPH (ORCPT ); Fri, 16 Sep 2022 12:15:07 -0400 X-Greylist: delayed 327 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 16 Sep 2022 09:15:05 PDT Received: from simonwunderlich.de (simonwunderlich.de [23.88.38.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC06A4F384 for ; Fri, 16 Sep 2022 09:15:05 -0700 (PDT) Received: from kero.packetmixer.de (p200300C5973c57D0711F6270F7F2Cd25.dip0.t-ipconnect.de [IPv6:2003:c5:973c:57d0:711f:6270:f7f2:cd25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simonwunderlich.de (Postfix) with ESMTPSA id A34CFFA2A8; Fri, 16 Sep 2022 18:15:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simonwunderlich.de; s=09092022; t=1663344903; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hFzEhch0wSLSZ+/C82epaSdcXfqynQqW7sxrB59l6sU=; b=q9Ic3zwE00TPFzf49LnL6nRI71DiCHQNHJgCZ1raHgjU6lJNFBcA5LHf6Hbvn/RtIXWCKE AptBoQ8Q4ZoGV3clZj7neSxZX15r4H8YeKlpVlbVh4/UEV7F2Q779kn2tzCrrJ141EOLwk 3EMvVVHB5SJbjrF7lDuijzCCXsUBv2FqKXhYciPAKiy5cQHhmwcIcyUJDRn7xshHo6xtJz vvSo25l3KIxnE0P4EFsUFrQfbsLRSAukzJbm05udNh9XkK+CIrH1G0eTwAh2wBGLC8fLe1 n8D+6weB8w2UKQS6PRI/jCm896IQQCxd6+olEXjP+vfChOQJNDibuLGnVf0iBg== From: Simon Wunderlich To: kuba@kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Marek Lindner , Sven Eckelmann , Simon Wunderlich Subject: [PATCH 4/4] batman-adv: remove unused struct definitions Date: Fri, 16 Sep 2022 18:14:54 +0200 Message-Id: <20220916161454.1413154-5-sw@simonwunderlich.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220916161454.1413154-1-sw@simonwunderlich.de> References: <20220916161454.1413154-1-sw@simonwunderlich.de> MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=simonwunderlich.de; s=09092022; t=1663344903; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hFzEhch0wSLSZ+/C82epaSdcXfqynQqW7sxrB59l6sU=; b=dCfdILMrTwcKUmS9A6vyzOtZlZjJeFvaqCGD2af6gVYodjrPCCjgL5CkshgLLX7C2yuT7H eH7EKDYZvgEsgFVHtsVzY4sYOx2EZpYzQaB+T5OwMyapVUQUd1TSjuSsW7jHTL0SWDONrQ 8vu5It+/WEguODsicqHRlwPry2a6/xbDjEclcrOHynidaLz3tL69uI4xij0iByUPY3YY4V NUzqwH/CMoLEuxK8PiCZrnhSm8kCcesV/pRyOFSBESXin3l6WKtlxvmprRRNn4trkVKxMf K9Q9JKQeJ5V50P2aKl9i6lEx9kQ2aesFlMiemzl64xYeAd6GFCBgFi+7Lo8beQ== ARC-Seal: i=1; s=09092022; d=simonwunderlich.de; t=1663344903; a=rsa-sha256; cv=none; b=VbHgrBzwVYfuwoG3BbPtsWU/HNmHiPmy7DfvCkfrqiXQDMpSpquErqOT6bG1kMA3yS1TbD6TAeJnOgH3u3L7e9BsM7/SEinucunvGeww6+7IBwGAL/bAsPhLbzXG/p1IVZXCTMwJwcPpimNCHwMUackjLSmM3OPLyOhc4VJfwOP24RkuaccwDVE5EMSGwkKr9OQNjTxZW0eZhVe9vfG/M7LiHGff4PN29NumKcRhConbLuR8D9CF/rfZmhzAjyvuljmSWfzZuvCUIBfxovpMPAYDYgZZLj4Lg/9191FyUQZiojmvnn7pn/A0HV1/emMDcZ6igDkTIRA1+ECyBA+psQ== ARC-Authentication-Results: i=1; simonwunderlich.de; auth=pass smtp.auth=sw@simonwunderlich.de smtp.mailfrom=sw@simonwunderlich.de Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Marek Lindner Signed-off-by: Marek Lindner Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- net/batman-adv/types.h | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 2be5d4a712c5..758cd797a063 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -1740,45 +1740,6 @@ struct batadv_priv { #endif }; -/** - * struct batadv_socket_client - layer2 icmp socket client data - */ -struct batadv_socket_client { - /** - * @queue_list: packet queue for packets destined for this socket client - */ - struct list_head queue_list; - - /** @queue_len: number of packets in the packet queue (queue_list) */ - unsigned int queue_len; - - /** @index: socket client's index in the batadv_socket_client_hash */ - unsigned char index; - - /** @lock: lock protecting queue_list, queue_len & index */ - spinlock_t lock; - - /** @queue_wait: socket client's wait queue */ - wait_queue_head_t queue_wait; - - /** @bat_priv: pointer to soft_iface this client belongs to */ - struct batadv_priv *bat_priv; -}; - -/** - * struct batadv_socket_packet - layer2 icmp packet for socket client - */ -struct batadv_socket_packet { - /** @list: list node for &batadv_socket_client.queue_list */ - struct list_head list; - - /** @icmp_len: size of the layer2 icmp packet */ - size_t icmp_len; - - /** @icmp_packet: layer2 icmp packet */ - u8 icmp_packet[BATADV_ICMP_MAX_PACKET_SIZE]; -}; - #ifdef CONFIG_BATMAN_ADV_BLA /**