Message ID | 20230710150454.5490-5-cristian@rodriguez.im |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=DXHFCai2; dkim-atps=neutral Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R06kp57Qdz20Ph for <incoming@patchwork.ozlabs.org>; Tue, 11 Jul 2023 01:05:38 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8F1B9385AFAD for <incoming@patchwork.ozlabs.org>; Mon, 10 Jul 2023 15:05:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F1B9385AFAD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689001536; bh=f5h1SoyB7KO5sQBUNgIfX7SGBAvIF+yirqQvaS2sZgw=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=DXHFCai2CPk8JPSwDidSv/xxR36IM1LlHZSa6DTNc4SGN6H0mumUOtp1t90IgCqyN hr8ERmQtjfftRxMxGw75BwTOMdTnrPxaOo9N4Z1Mps2BDqEIuusI1n6YtTnJPhQbu+ MtNFZ1mZOqd/gIc5iVjWUAC8ye1Tpe8o26EU/Lf4= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by sourceware.org (Postfix) with ESMTPS id 49AB5385AFAC for <libc-alpha@sourceware.org>; Mon, 10 Jul 2023 15:05:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 49AB5385AFAC Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-6b751cb88bfso523461a34.1 for <libc-alpha@sourceware.org>; Mon, 10 Jul 2023 08:05:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689001513; x=1691593513; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=f5h1SoyB7KO5sQBUNgIfX7SGBAvIF+yirqQvaS2sZgw=; b=QiNyl1h46wQH3SbP1YSGnSERxED0HhJGqBGj6l5dmS+pJWFtReWi8sSfK+Ls5JfgxC bXktOWbtqJ+CpelYOC52784ICwOGueIF5QVUx1M7ipvcq1DcliJOi2dAHUbQw6o8gPav wgJNQzPaoz+ZYF2P19m8DEC4kmq8ontaOjqgB+CIpjbR2pvmZDgWpoW6bIAwKbY1Octx lxvgdxiRxUi6YyZUAWFMbh9ZyKu8WoOpMHcQguu02hLZeuddYd0bh4yJL9QpGSa0lrfS 69d1INbAJSph7E0QYzG98rj4JSjQzinYcgJICsvwguZDGoN3qYT68FENLH6uj0B2Xiay ky/A== X-Gm-Message-State: ABy/qLbXkviHy5KlmEcBrgWF87WzO6hpqfn2Vf9RqDByhRSmMoggLNVo gJdG828D7YGkhXPPDfgRCWwFSGeEcqRwrccjhwg= X-Google-Smtp-Source: APBJJlEJLNivHED9guEGcnvm+EyAvWY46uwJYHSOhnXDwv2XsPqteVoA2iAVJmWIuZGko1S8nV79JQ== X-Received: by 2002:a9d:7104:0:b0:6b9:1723:e1d8 with SMTP id n4-20020a9d7104000000b006b91723e1d8mr5804639otj.1.1689001513464; Mon, 10 Jul 2023 08:05:13 -0700 (PDT) Received: from tumbleweedvm.. (181-162-56-31.baf.movistar.cl. [181.162.56.31]) by smtp.gmail.com with ESMTPSA id r2-20020a9d7cc2000000b006b756242c98sm48236otn.19.2023.07.10.08.05.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 08:05:13 -0700 (PDT) To: libc-alpha@sourceware.org Cc: =?utf-8?q?Cristian_Rodr=C3=ADguez?= <cristian@rodriguez.im> Subject: [PATCH 4/6] inet: annotate ip6r0_addr with __decl_is_flex_array Date: Mon, 10 Jul 2023 15:04:40 +0000 Message-ID: <20230710150454.5490-5-cristian@rodriguez.im> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230710150454.5490-1-cristian@rodriguez.im> References: <20230710150454.5490-1-cristian@rodriguez.im> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: =?utf-8?q?Cristian_Rodr=C3=ADguez_via_Libc-alpha?= <libc-alpha@sourceware.org> Reply-To: =?utf-8?q?Cristian_Rodr=C3=ADguez?= <cristian@rodriguez.im> Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> |
Series |
Support use of -fstrict-flex-arrays in user code
|
expand
|
diff --git a/inet/netinet/ip6.h b/inet/netinet/ip6.h index feb66a15b9..24a96bac43 100644 --- a/inet/netinet/ip6.h +++ b/inet/netinet/ip6.h @@ -89,7 +89,7 @@ struct ip6_rthdr0 uint8_t ip6r0_reserved; /* reserved field */ uint8_t ip6r0_slmap[3]; /* strict/loose bit map */ /* followed by up to 127 struct in6_addr */ - struct in6_addr ip6r0_addr[0]; + struct in6_addr ip6r0_addr[0] __decl_is_flex_array; }; /* Fragment header */
Signed-off-by: Cristian RodrÃguez <cristian@rodriguez.im> --- inet/netinet/ip6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)