From patchwork Sun Sep 22 14:50:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3514 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8FA1640D67 for ; Sun, 22 Sep 2024 16:50:23 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-5c25cf44030sf2203401a12.0 for ; Sun, 22 Sep 2024 07:50:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1727016623; cv=pass; d=google.com; s=arc-20240605; b=L5wgBvjSe7KWKfOmd/K4gkHfCMlDDuN/uO6T04igIVFzvf+WbcWErXNe+nOI3hoq3T GIIrENPALj4N/Wul7hqfHorbCdqti1SsccQugVB5gxDUXLkLiyIHfm0lk5gQXtRpyA66 gElMBJbV5QXoD7sutvGnykpEIgO+enRVLzDWkvaiVR6F26TxxZfKIblDdeBSwI2W/iOM N4HYq/MS6Sszt0qRj8Vnx2ZVvwC81UuZnVjCOKvdtc1hU4nhxH6NvwkHJsdu98Vu6CA2 Kbwuw6pqLcy+CXmEfjbX30weIIHgUbVOZA4W/2JdQQvag+VIwhF3XUcIUPoQDzEF4B/c qKXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=pYNLVtIEGwk49mOyCZ7hlHqFAHAXd7lj0gXPecA2HdQ=; fh=hr2534vUkk3ii2EJAV7u8tZXz2pAaNMQJH/5oxzg6oc=; b=U/96YxMaV/jiY/I3lQByHRxv9zC2W3nqdeHpF0l0UIXTpdULdcRDcwkVPtqNKSeEZu zepPtMFARkVb+MXV05qGgu/jvRqvLLqPoaiQwQ3MD8sSkcl0DRju+lA81mjsPsQzZnYk AQ6KLR3sMF39AbJLrUwuFRJY7A1aqT7oHC4g1/I9OdpTqsHESnv4loP7JWtF2bLIoSTm VbqzvC1IYeGMI3buIiYgR7A1yOFqD2IuVBfnpRZDfAfBAcluCspmu6h5/ceRTa4ZeoL0 XVEg2GAPbN/UaU1fBpJpCGdB4M3bpPxYXUpYPK4GGow/Mrou8ap7h7WbNkDFXW3NAHwP Hx7Q==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="IYcW/ov9"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1727016623; x=1727621423; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=pYNLVtIEGwk49mOyCZ7hlHqFAHAXd7lj0gXPecA2HdQ=; b=n3EhmEQ4Z1pmd8WBhRsCNLdQD9+6Enxkbat9/RZeGfH2SqAnYsX6wL/mK0ufmZK3cR cCuxku7C3thAXUjp0bRI3zlevxG6IkJWXbekJxoMBcAQYG16l9/EW+0obeV8g264umjv 6awNeAiFuL56X1KrOirFuiMigtxoMUAAOVyHI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727016623; x=1727621423; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pYNLVtIEGwk49mOyCZ7hlHqFAHAXd7lj0gXPecA2HdQ=; b=VHnIceNgyZm/LzeMjntT94gLMX/BU+ft53U7y/iikJf8LrEZhhDw8B9ItFhSxRMTey RQfdirGUqFyrFYMM3NT7er5kS4dU3IZ3ttOwglhNXVidDxz+QBa5tPTktMUkCfrTxZpo 1etBDcLitk7cxZrHqom4Y/T990oqKwt0PLQlPpKAk5re3H5KlTP8I4IYmVq82j36Ywy8 QrVFqbKRYfuIKaWDbUoT6QSiI9NP4mXFlIi3d428qnrq4GU0wUREIBx9Y4qEtTOTGoAR 1U5YE2Y+2FCz+TcqYkDGx8CL6XfcNJ0eAwRi1P22DgAINakhXXTIl7BHmrft9oZyGiNb IgtQ== X-Forwarded-Encrypted: i=2; AJvYcCV/QBvLpR+29V670wtJulvzSEm5oRj82wcYA0ABWph3Dvpw2j/7IQLkoyknWa4rk0efHtQjjtwj+OklwTv9@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YzLDmM66Tm0dhc4SOcLstL8kTNtIT/JKX37pmXWPRFLvBLDJJzZ IDBVdHzFlBUExBtSfLt3uWt7NAU+G+l+pdmbhse+5xsLxW8s3EPUDSAFTkCOiihbVQ== X-Google-Smtp-Source: AGHT+IFuAFvo5alL7u6HFWSSIo0p5TDy6Nwc4IYuUtnO5QLbjwXJdqcMnBWpBOqZ1nN7kbWInWA1sw== X-Received: by 2002:a05:6402:3509:b0:5c4:136e:cef8 with SMTP id 4fb4d7f45d1cf-5c464dba436mr7068413a12.16.1727016623177; Sun, 22 Sep 2024 07:50:23 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:210e:b0:5c5:b616:e00 with SMTP id 4fb4d7f45d1cf-5c5b6160e5fls818850a12.2.-pod-prod-09-eu; Sun, 22 Sep 2024 07:50:22 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXfIvSr4z7S/OKLc4uDTDCdSkynnDmYMYrQG/ycLlGz5mF89IvKtIsAYLO2kkmg82ClDDbHqpu2zLRRiCDA@amarulasolutions.com X-Received: by 2002:a17:907:7256:b0:a7a:8e98:890d with SMTP id a640c23a62f3a-a90d55e5d7dmr745328766b.16.1727016621705; Sun, 22 Sep 2024 07:50:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727016621; cv=none; d=google.com; s=arc-20160816; b=00AjdHTX4lZd5gkwrOjW5ByZxyYPl5AT3Z+p6t0a3xvMfyU5K1A6eDbJVoH+TxDTXC q9ZQsrMBoQuONed2yeD8QaCQ19stEzLNvJMUtSrKwtszYrrMbcgltNl05dlGnT5uvpGf sfT49MszEOx08hbeW6hEcfw+/O/ai33W3jVukgG71mkfqQrdYJXjnb3FHUV+nXHBx8NO qLZkVUej5rOVA2uCKTQzNgloihN4R6UsI9A7xKAU2IFbCpitrPQyxEFS0SgZ8m1zNn0J cubtI8qxj9dVdaBycRnuMatJ5duzc+f1hTptFx+ElqJciVOfsB/8LdTM1LcoY7fhYrvO 6bpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=VyVWc66giTUBEyVXjUY3pvJmuDFaMPkAt+mawlB1FXM=; fh=b4Ahyrjz4NkP3UMHMGNiQ3LJN8G7GPW/7Yn8OeL5sMU=; b=nwuJHqcPii8le6AnBgBZ9/DUtXS44yXckryqitp2QFK4WaLTWgX6C0WOOTZQH+pUuU x244qCH/uJ4MVQbXDm/qpsJL1TtHv53f9199ILaIyfEnylweFPEpLQ8dk1XeDVPK1hB9 DRhMwjAe8kH1IN29d5lj+kMwv8Skjb2UMzLi7dRAziTX9TMMHA4+j+LmPCizp5X5CQ80 HIqmgLpCi0jn9Av9F8xRr5gmZn9Rl+useXWo+Cif6F6qeFAZbl5GabrDD4+9swiqizi1 fgPecMZO3tjfPOQtailAcuohsap3qJiq+vqfSGgCVyeROMp3W0nCxaR0uxYUJb/bbA8e Nq+g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="IYcW/ov9"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-a906123fb75sor584464266b.9.2024.09.22.07.50.21 for (Google Transport Security); Sun, 22 Sep 2024 07:50:21 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCXPY2uBGvZe9voRnT6wIsyUUjrt5rZ1cmAezEFf/QkVsG6mIEjCM7PAbvVm6I88hs3Xlmdtf3/NWZ9w8Zik@amarulasolutions.com X-Received: by 2002:a05:6402:40d3:b0:5c5:bad0:df3f with SMTP id 4fb4d7f45d1cf-5c5bad0dfdfmr2721261a12.22.1727016620977; Sun, 22 Sep 2024 07:50:20 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-20-102-52.retail.telecomitalia.it. [79.20.102.52]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c42bc8907asm9724838a12.85.2024.09.22.07.50.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Sep 2024 07:50:19 -0700 (PDT) From: Dario Binacchi To: netdev@vger.kernel.org Cc: Stephen Hemminger , linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [iproute2, PATCH 2/2] bridge: mst: fix a further musl build issue Date: Sun, 22 Sep 2024 16:50:11 +0200 Message-ID: <20240922145011.2104040-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240922145011.2104040-1-dario.binacchi@amarulasolutions.com> References: <20240922145011.2104040-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="IYcW/ov9"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch fixes the following build errors: In file included from mst.c:11: ../include/json_print.h:80:30: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 80 | _PRINT_FUNC(tv, const struct timeval *) | ^~~~~~~ ../include/json_print.h:50:37: note: in definition of macro '_PRINT_FUNC' 50 | type value); \ | ^~~~ ../include/json_print.h:80:30: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 80 | _PRINT_FUNC(tv, const struct timeval *) | ^~~~~~~ ../include/json_print.h:55:45: note: in definition of macro '_PRINT_FUNC' 55 | type value) \ | ^~~~ ../include/json_print.h: In function 'print_tv': ../include/json_print.h:58:48: error: passing argument 5 of 'print_color_tv' from incompatible pointer type [-Wincompatible-pointer-types] 58 | value); \ | ^~~~~ | | | const struct timeval * ../include/json_print.h:80:1: note: in expansion of macro '_PRINT_FUNC' 80 | _PRINT_FUNC(tv, const struct timeval *) | ^~~~~~~~~~~ ../include/json_print.h:50:42: note: expected 'const struct timeval *' but argument is of type 'const struct timeval *' 50 | type value); \ | ^ ../include/json_print.h:80:1: note: in expansion of macro '_PRINT_FUNC' 80 | _PRINT_FUNC(tv, const struct timeval *) Signed-off-by: Dario Binacchi --- bridge/mst.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bridge/mst.c b/bridge/mst.c index c8f7e6606c3c..fccb7fd68140 100644 --- a/bridge/mst.c +++ b/bridge/mst.c @@ -4,6 +4,7 @@ */ #include +#include #include #include #include