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: 18517 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id DEFF08178B; Fri, 16 Sep 2022 18:15:06 +0200 (CEST) Received: from simonwunderlich.de (simonwunderlich.de [IPv6:2a01:4f8:c17:e8c0::1]) by diktynna.open-mesh.org (Postfix) with ESMTPS id BB15D802ED for ; Fri, 16 Sep 2022 18:15:02 +0200 (CEST) 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 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 ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1663344902; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=YuaSs/a1YgtPIPV6n1vLY2PrA5VcxVcfR87EgRqxVlE=; b=O7z14/vygnZLsUvLly+THqTybFPsu9xcAY7B+j2HA1/RHr0bdpS34NmFXrlGr8BMQ0H64X C8a9jMblR8FOMhBGRIcEEmfPDDPjEIDa8eXBrT1htsh+YWfQ82szLm+a2Q4MM2nejhxMbm j/RndV5k2nG6SiT+Efqfmx5RSQSdKYE= ARC-Authentication-Results: i=2; diktynna.open-mesh.org; dkim=pass header.d=simonwunderlich.de header.s=09092022 header.b=F3bZR1Tp; dmarc=pass (policy=none) header.from=simonwunderlich.de; arc=pass ("simonwunderlich.de:s=09092022:i=1"); spf=pass (diktynna.open-mesh.org: domain of sw@simonwunderlich.de designates 2a01:4f8:c17:e8c0::1 as permitted sender) smtp.mailfrom=sw@simonwunderlich.de ARC-Seal: i=2; s=20121; d=open-mesh.org; t=1663344902; a=rsa-sha256; cv=pass; b=l2rgremUSDUf0LXTl8TN6i+5Zp4hBgwKZkmD0oKiFQVP8m8bLrQ5Xzkz+OK2mhxxfjajy+ 9HF4FZAWmVd8UONfknLSvhiAqtx4nj5CH+MgyhQ6f2O/8xAOs15u8eD+b9AjmZRnqO2gYu 9kvCfwHyOzAEFvIemUvwyqnET/s7l/E= Message-ID-Hash: MTUZQGWXSVJXTYPXGN3EHKMSXV5S6SV6 X-Message-ID-Hash: MTUZQGWXSVJXTYPXGN3EHKMSXV5S6SV6 X-MailFrom: sw@simonwunderlich.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 3.2.1 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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: 18518 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id 64F5A815B6; Fri, 16 Sep 2022 18:15:08 +0200 (CEST) Received: from simonwunderlich.de (simonwunderlich.de [IPv6:2a01:4f8:c17:e8c0::1]) by diktynna.open-mesh.org (Postfix) with ESMTPS id 4E457802ED for ; Fri, 16 Sep 2022 18:15:03 +0200 (CEST) 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 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 ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1663344903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=YiYIf19NZMvrgYTDbEC0Yn/Ui+xRGAjJs0Zdx9nGGk8=; b=1jgmb4/fBXKyqOGTdoECnf1ZZVHIGFDVWa3lXXdqEFwQOJgCkWuIRQc4ltoKZlIqvui34e uQRMLuKQQAgOmTIygvncwtUysAIg6A2RqU3KQjBRxR/BC79XjcPYlCSa+gLWhlhhCQpymo nCATNfSsV24REKcCyo1YnemBK93B71o= ARC-Authentication-Results: i=2; diktynna.open-mesh.org; dkim=pass header.d=simonwunderlich.de header.s=09092022 header.b=lPEroSZh; dmarc=pass (policy=none) header.from=simonwunderlich.de; arc=pass ("simonwunderlich.de:s=09092022:i=1"); spf=pass (diktynna.open-mesh.org: domain of sw@simonwunderlich.de designates 2a01:4f8:c17:e8c0::1 as permitted sender) smtp.mailfrom=sw@simonwunderlich.de ARC-Seal: i=2; s=20121; d=open-mesh.org; t=1663344903; a=rsa-sha256; cv=pass; b=zQACqeXP1OtjzJka3zW07hIz4sUFomNY4mS8MrzRLegrReiw0OKMgwrkgPtK2lf637MZ3o WMMFs7xqS541AccelcLjvvyVqgGIAALHAG0rsnBQKcMWYi6HuuAnK17KIBczFtBGnodGmI OSYSVzrKqHBgC+2Zooa/hrqwRCCFNRo= Message-ID-Hash: ETGU42ECCM6DDUIQVTDSBNO3ZK4LJTXN X-Message-ID-Hash: ETGU42ECCM6DDUIQVTDSBNO3ZK4LJTXN X-MailFrom: sw@simonwunderlich.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 3.2.1 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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: 18519 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id C01EF817B5; Fri, 16 Sep 2022 18:15:09 +0200 (CEST) Received: from simonwunderlich.de (simonwunderlich.de [23.88.38.48]) by diktynna.open-mesh.org (Postfix) with ESMTPS id 8A64E81515 for ; Fri, 16 Sep 2022 18:15:03 +0200 (CEST) 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 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 ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1663344903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=PuTOt8b+OPbDqWTsMFNEW4UtlKlZMhSm80wCFhpgQFA=; b=ynZt1wpoKP3oEH6TCHF0d0DqVXTPFP5vjzsPcg507m3fcD76O+1s4/x5X+9gZzJrJeKd3w vi0h454NHpsQRiJkKomH3P5WaRxz2mGPHji9j3Ci7sOSGAnAjiXsgvrbplFXf2cDy+e7Eu 4JFVIqh9Tt0cuHPC4NkudVYr2glbmaI= ARC-Authentication-Results: i=2; diktynna.open-mesh.org; dkim=pass header.d=simonwunderlich.de header.s=09092022 header.b=fX+10PJQ; dmarc=pass (policy=none) header.from=simonwunderlich.de; arc=reject ("seal check failed: fail, {[1] = sig:simonwunderlich.de:reject}"); spf=pass (diktynna.open-mesh.org: domain of sw@simonwunderlich.de designates 23.88.38.48 as permitted sender) smtp.mailfrom=sw@simonwunderlich.de ARC-Seal: i=2; s=20121; d=open-mesh.org; t=1663344903; a=rsa-sha256; cv=fail; b=uPQye4sl6fjzOKzFJVqDxb6drqmFrraYb8VeZqE/PbPdF654wcS76leg+Oz2yquU9IeyNu F0KZvg94+1Y/0vhJkqOkjo4nYOEzi1w+AoCbQxQpzDrB18kROHbfwYxsTAHzTEWIvkf6oh 8hBbbg/8041+uO5pymFXznyBWQLQLMA= Message-ID-Hash: PK3BDZWSQARMPPAD3ZEFIQQPEF7PUJP7 X-Message-ID-Hash: PK3BDZWSQARMPPAD3ZEFIQQPEF7PUJP7 X-MailFrom: sw@simonwunderlich.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 3.2.1 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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: 18520 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id 0441B817C0; Fri, 16 Sep 2022 18:15:11 +0200 (CEST) Received: from simonwunderlich.de (simonwunderlich.de [IPv6:2a01:4f8:c17:e8c0::1]) by diktynna.open-mesh.org (Postfix) with ESMTPS id E1ECC802ED for ; Fri, 16 Sep 2022 18:15:03 +0200 (CEST) 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 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 ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1663344903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=hFzEhch0wSLSZ+/C82epaSdcXfqynQqW7sxrB59l6sU=; b=kObwoppZhTpXzqRhLxQpxK6UzAiLL9lJhZAP7crYBObTqyipY7U46gqAJvICEgJ95iQGgQ hWK+9Fej887gTf7U8SKMlH+mxMYvDsaxuym3eqSzudjAUi60ebhXzM1lH8BziB1QvSQPCA 1+NXtqrl6Pg2kk0y4KZ0WZu6LJiRFkE= ARC-Authentication-Results: i=2; diktynna.open-mesh.org; dkim=pass header.d=simonwunderlich.de header.s=09092022 header.b=q9Ic3zwE; dmarc=pass (policy=none) header.from=simonwunderlich.de; arc=pass ("simonwunderlich.de:s=09092022:i=1"); spf=pass (diktynna.open-mesh.org: domain of sw@simonwunderlich.de designates 2a01:4f8:c17:e8c0::1 as permitted sender) smtp.mailfrom=sw@simonwunderlich.de ARC-Seal: i=2; s=20121; d=open-mesh.org; t=1663344903; a=rsa-sha256; cv=pass; b=2+mu4VGreDP+qOXx8RwNbq31LPX1CVJrfVocruQBQQQXRLFBav3zNVj1NUXLK/7Chtt7mJ DiPEFGT7NNvRhxF8IzJb8U5CrVGCWsz34F5Nx+6L+ykCmd6wkEc/DN8zSf2vvnYFjwRNyZ RmZ05qLk2+ahKF4WsDvbnKHDroNIxu8= Message-ID-Hash: 32CFWD7KCCAUSHTON6E4MRJ2VUELZHYG X-Message-ID-Hash: 32CFWD7KCCAUSHTON6E4MRJ2VUELZHYG X-MailFrom: sw@simonwunderlich.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Marek Lindner X-Mailman-Version: 3.2.1 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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 /**