Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4014395iog; Tue, 28 Jun 2022 07:23:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uXme7CQ5Cf3uN5Rqmr3XjsbSvHrNnU0ij99k10wWBWnPGQJIPWBvAwipc574kcZJb/Xaac X-Received: by 2002:a62:5b06:0:b0:525:451b:bf31 with SMTP id p6-20020a625b06000000b00525451bbf31mr4960138pfb.61.1656426192749; Tue, 28 Jun 2022 07:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656426192; cv=none; d=google.com; s=arc-20160816; b=HvSHYv7tLbyejY3PaADO3n056jXJiARzUurUF3SKdzAxb4bMMyjHLWk0KOeAwo+PK7 ws6BJiP+nl4OjiYYc2TN8ha7iJ7SlI9VXir3Q2LNQyw0PPG5J+h77wnRK7S185N0+MKk 8cDuwI00ZuWFEkCPfCZczJfKxymT5lhG6DfDVkTVkISxgJDEQv3Gda5tLRVnzwDOnxxC IqGJsO09yY4iPtu2BTRR2Hy6my1c0tW009Qpf0DCj5OoVKXVvLM5PdEk8ItEIo++mztK LXKXreqzSMhfQi49wUlGnaFBq2+GJk7wKLWqybRGVSXByA96f3GN6xqeWYRaFKAcxT2k Ie/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=h9liMSSgApbUjsLt5jfOEZYU3mzJi6+bkb3BBQ9Dqgg=; b=e+1gCaLtkCV716SCwQUPGLtAzlkI30i/VuX19S7Z37F+uBgxI8UDTm07b7Xjbb5Y48 FSc3gmRxaVeqC0IhBPvjU04V0f86CIdtTUbpuyBj70i92uvp4u/zAnViWDPUxJFvIt9A VnIUIhkCTNnDVtRw1mtncTsfjPoLLrBAkmggw8+ALejZbB/HCB0bjn3Fk7lmnmbVBFO9 Jnc69vw1bzVTs5va7V8KJrW37Oet0Pn2esTkZvvDcCvQJAfwDHPgzozzL8bRMMw3qYrq 2EpMwbEyzILsQTcuTZkMgybI8xTLkL7fN9TpOgh6xXhV7PIYibmrxTPV26qH9g/Hxzal x1kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LKmDxdei; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b2-20020a056a00114200b0052574344cc0si19494135pfm.205.2022.06.28.07.22.57; Tue, 28 Jun 2022 07:23:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LKmDxdei; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346535AbiF1OSh (ORCPT + 99 others); Tue, 28 Jun 2022 10:18:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346441AbiF1OSc (ORCPT ); Tue, 28 Jun 2022 10:18:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A81CCDEA; Tue, 28 Jun 2022 07:18:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5AFB9B81E0B; Tue, 28 Jun 2022 14:18:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B5F2C341C6; Tue, 28 Jun 2022 14:18:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656425908; bh=gNqsfpabtVurh3KrN/HDHkVIuq5HYEGkFj0dq9pxBp0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LKmDxdeiZbNhcfCtRCGKrWsyjlCMGrWNe6JPI6+0Ud4+CdurjXwUmrO+N85g9uStN ZMyX+h6jcWDShk2bKHv4I1CwjG76KgIokSJRaPNHE+tAExMRqCJhyYb+qk23PpSnt8 UZagMIRlLLl0N2746CMcacDFBvR451lE95WpeBq0GW4QDuaouxlRRNIVOVHDclrQ6f 3R9oBNaPqtGDm4Fzozu0TEhclsuvbNSWpoAarBMEoFPJEcd4AO2pVjb65zJgdF1PVp ef3Ggil+1czhmYD/i4aHezmCjBjk3ri61YXhTXJoT9Ami17Y24U2vq1uockAAm5n3K LL1PsE5NQ0Syg== Date: Tue, 28 Jun 2022 16:18:23 +0200 From: "Gustavo A. R. Silva" To: Stephen Hemminger Cc: Kees Cook , linux-kernel@vger.kernel.org, x86@kernel.org, dm-devel@redhat.com, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-s390@vger.kernel.org, kvm@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-can@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux1394-devel@lists.sourceforge.net, io-uring@vger.kernel.org, lvs-devel@vger.kernel.org, linux-mtd@lists.infradead.org, kasan-dev@googlegroups.com, linux-mmc@vger.kernel.org, nvdimm@lists.linux.dev, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-perf-users@vger.kernel.org, linux-raid@vger.kernel.org, linux-sctp@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linux-usb@vger.kernel.org, virtualization@lists.linux-foundation.org, v9fs-developer@lists.sourceforge.net, linux-rdma@vger.kernel.org, alsa-devel@alsa-project.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH][next] treewide: uapi: Replace zero-length arrays with flexible-array members Message-ID: <20220628141823.GB25163@embeddedor> References: <20220627180432.GA136081@embeddedor> <20220627125343.44e24c41@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220627125343.44e24c41@hermes.local> X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 27, 2022 at 12:53:43PM -0700, Stephen Hemminger wrote: > Thanks this fixes warning with gcc-12 in iproute2. > In function ‘xfrm_algo_parse’, > inlined from ‘xfrm_state_modify.constprop’ at xfrm_state.c:573:5: > xfrm_state.c:162:32: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] > 162 | buf[j] = val; > | ~~~~~~~^~~~~ Great! This gives me hope. :) Thanks -- Gustavo