From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD413606D801 for ; Tue, 3 Nov 2026 22:01:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AuKAd+2p Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4jK2bB0L6Gz2xyj; Wed, 04 Nov 2026 09:01:26 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2600:3c0a:e001:78e:0:1991:8:25" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1793743285; cv=none; b=g0f6FJKjmSm4PHQFS2fzwOOy2D/4NobDfNzFXn4Psxzt0QCG8xbr+wjR3n+EK8eCEoQZA17dknVkApx74oOzi4YFdh7lKRh6mA1BMyvP1SelpgiQQzPVaYbblCycz3Uuf4fZsY2PtdAtty7ncncDEWYxIon6tTHaS0+qz5jy3WTopdWd4AQRjusDj+g0Hv/icd0Oe9Ke00Ve8IWIC/a1CsxMJxvsEFtmwv2OjHSGCbhcoDFVzpkAyUDiVb6++k/LhsrXPhYb7mbZhX3Nxt6dcZ+l2qvDI5AfFfasjra8LDQ3dV+Tq+XOTtMjh62aWw8/UGsFCPCQb1QIC9X+l0xfxw== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1793743285; c=relaxed/relaxed; bh=R6uA9hX7fD85rhN6sNXcNNPGP4g4K/KhTQ6rqqOfAX0=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=AzIqjdk78PqRRxc25yHJS5k9lAyW37+sSQk3W4VeXreY/V98AZ3MsnCUrwyIvck9aysI3zLrj04ZXBysc1RUpajXSGt5whfImboBprI9sxLwpUxsxaiU5Fy0E9AVjb24+QNfnUPvrueC7XtoX9esOql+YsVVmcEqw6fTlOxXpN7LB1NCQg7Ii1XqbQSaDp1NnqQnPTW3Kmv/D8bmezFGVEBlED/dEVlv3A8jqg8mxInPSa4xkHk919su5U/dh17QQ2424Va9bVls0s7Oc1sNGKaYKy/bZetqyDPPFY82A/R/WW2xy9X59/AhnRrmJ1QOY1FmlYjNkruRAhoXnVPL4g== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AuKAd+2p; dkim-atps=neutral; spf=pass (client-ip=2600:3c0a:e001:78e:0:1991:8:25; helo=sea.source.kernel.org; envelope-from=dakr@kernel.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AuKAd+2p; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=2600:3c0a:e001:78e:0:1991:8:25; helo=sea.source.kernel.org; envelope-from=dakr@kernel.org; receiver=lists.ozlabs.org) Received: from sea.source.kernel.org (sea.source.kernel.org [IPv6:2600:3c0a:e001:78e:0:1991:8:25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4jK2b91BWRz2xyh for ; Wed, 04 Nov 2026 09:01:25 +1100 (AEDT) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id B58204026B; Tue, 3 Nov 2026 22:01:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73E5C1F000C1; Tue, 3 Nov 2026 22:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793743281; bh=R6uA9hX7fD85rhN6sNXcNNPGP4g4K/KhTQ6rqqOfAX0=; h=Date:Subject:Cc:To:From:References:In-Reply-To; b=AuKAd+2pAiWxmodz6a5kLrzOGag2dQXGCvIWfiU2SqiHPwjnt+DZeZOIZzwDoeFgW f5tvI82TTyJbTTJBeMupREcEqkEJOTnvm2tcg6rR6KzI977TOiUnB4XfJblBR0m8Ko 3on7l/RW87okd18TkMziqprxQ9KNwBaxunuTpwN+wdELBok8svqqglFYItI7OaAie9 SaIAxAjUUZc0FGMB/GEzff7Fem5FCCZW2y7K8Ha9aPGJ34HwNpxMac8F2DMTukXzX4 NMMYmaBoHXuYiAJmGYwn0YL5KCqaN+IzO8Fe7/dimMO7SXev4BOPXOSMGcMZiQPmb5 yEemvUz0AwJZg== X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , Precedence: list X-Archived-By: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 03 Nov 2026 23:01:15 +0100 Message-Id: Subject: Re: [PATCH v2 0/9] Add __must_init and require explicit kobj_type::release Cc: "Kees Cook" , "Greg Kroah-Hartman" , "Miguel Ojeda" , "Rafael J . Wysocki" , "Nathan Chancellor" , "Nick Desaulniers" , "Miguel Ojeda" , =?utf-8?q?Christian_K=C3=B6nig?= , "Zhihao Cheng" , "Zhongqiu Han" , "Sumanth Korikkar" , "Bill Wendling" , "Justin Stitt" , , , , , , , , , , , , , , , , To: "Ian Rogers" From: "Danilo Krummrich" References: <20261027223847.652884-1-irogers@google.com> In-Reply-To: <20261027223847.652884-1-irogers@google.com> X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Tue Oct 27, 2026 at 11:38 PM CET, Ian Rogers wrote: > Clang supports the 'require_explicit_initialization' attribute on struct > fields to enforce that the field is explicitly initialized when an > aggregate object is constructed, emitting -Wuninitialized-explicit-init > (enabled by default) if the field is omitted. > > Following discussion at the Linux Plumbers Conference [1], patch 1 adds > the attribute to include/linux/compiler_attributes.h as __must_init. In > v1 it was called __require_explicit_initialization. Kees picked up that > patch with a first seq_file user [2], and in that thread Greg suggested > the shorter __must_init spelling, which Kees and Miguel agreed to. As > the attribute did not land in the v7.4 merge window, Kees asked that > this series carry the renamed attribute. The Acked-by/Reviewed-by tags > on patch 1 were given for the original spelling; the rename is > mechanical. This looks ready, and I plan to pick it up through the driver-core tree wit= h the minor commit message correction. > powerpc/secvar: Add missing kobject release callback to secvar_ktype > sh: sq: Add missing kobject release callback to ktype_percpu_entry > xen/sys-hypervisor: Add release callback to hyp_sysfs_kobj_type Some ACKs would be appreciated. :) Thanks, Danilo