From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0EFAA2DE6E6 for ; Tue, 30 Dec 2025 02:22:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767061373; cv=none; b=kRtxEWxB3qZVOm3+deUfnOLqE2iasUFgfQiG+SHxQ2IdEZfb4+tjlcTiqm1D3ES5deXeMi9uDb33N+yG8N6jX54iF+UejBcA4CnaghuPIayp8bv2vaSX0x+Kw+7ZN/oSt8a8FN8BlEEAXvKARrevO89/lRQZR8PrrBpNz5iej2A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767061373; c=relaxed/simple; bh=1TPUuZRqeK9VE9JKVNfQ7gOUgA9r0Suwe3bu4LqCFiI=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=MNfYDVsL7w4UHf/Lumyc7fhG7DsBn7B6geZ+3Ou66wSR+LnlLxzrKK4Kc2aMJgY+mqjYQzYRGdfuwULZ36RtMyXLhZRLVjVdWOWt4ikFBm1zWKRO++PFkJxii6ZQu8Y8JuAl9JXT9bF87BUTlq5PamlJwpeMDMqoxAojc9y0uOg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--ynaffit.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=LfF6QnfA; arc=none smtp.client-ip=209.85.215.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--ynaffit.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="LfF6QnfA" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-be8c77ecc63so14730394a12.2 for ; Mon, 29 Dec 2025 18:22:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1767061371; x=1767666171; darn=vger.kernel.org; h=cc:to:from:subject:message-id:user-agent:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to; bh=dKB/MFi2JJNcHgRM1ZVpW/6k+K0ih/df/zx7AJgRywM=; b=LfF6QnfAtFOE6YuRQ1jp6GnfvXM9tXazkLDbPuVQNajsh5V0dZULNbelpNYEY6sKRj NNrcsTwfXj+F5FrlZoenzFLGYQ2pthDw0PK/scJmCSP5ALLf5x19iDjrBJS3jGtVZSWQ dYbTjoZwJdfHQcm2dGY3b1oDJFUtoW0qsrCM1Pdi+Jeamua1iPqHXxdNMTHiVcQtAiht 171jYcmCDZTMbAHm8tEFMbQpU/QZptUn5lYLI7shYpx65SSGErzhAD6dP3A+gApdD7QS dwyIB6+Oi93533zbMocnDB8ygJBLVutE8Xg61YlhoC06ulfJfLcw6YLpeJwMLQYwKpla 4aRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767061371; x=1767666171; h=cc:to:from:subject:message-id:user-agent:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dKB/MFi2JJNcHgRM1ZVpW/6k+K0ih/df/zx7AJgRywM=; b=nZdeCnWX6e7jNpvpjD7U+aAX+/r11E/iEg99hC9dObwlv69EXpHBcMg8IeC4YCWc8l 1yH+Vu5ez6AYFXWf0GlrD/vKqZyE2WWRY2dQy8FjGMi3UD1s6M2KHgIGSvOp2/f/1BT0 PF78b/rH0xIq7K+sJsYZaNFuiPeMhcHI7oQwcRy8sjZHs6xrUe0H0/xmYVdg4cegbouc DywZhGpbL3wIUjR2kiQ7dBvekvorDNMLsevDkoI2o3aZ8I0bLSv5T/QcIUiQ4MJ47x0t hbZWLKvl5L9U73cPosFal40uADb93bV0rMAm59YHtcIS1HVBEMau0E67CeWPQGXa67Vu 4Bfg== X-Forwarded-Encrypted: i=1; AJvYcCUfLmOi28M7PKEny0CPBAsR7z5fKeyReLrnXeTDEpaznYlwf65oJ7qYeRQR3/JOzp8TpHyFar+2hmJ2qtU=@vger.kernel.org X-Gm-Message-State: AOJu0YyhBGt4XX5ihoG9Su8PAzmeL4zQiz/m+zrY2iWXVTWNbWX6e6m6 zc8tamFUs9k7rU1S4Nm2Ea3rHzqCuWjAzjJLj7U4epN8PGUMAIU1khQNEjmDJcuO9YFN39350Ay wLaLAGkNLaQ== X-Google-Smtp-Source: AGHT+IELINBMPFmRxNHDW7vHWpdCROA3hncsEtneXbUH1OrOJmjFny3vsrRGMAMBfntFNvUrUIrN7tzzSSsU X-Received: from dlbsn2.prod.google.com ([2002:a05:7022:b902:b0:11f:300a:a308]) (user=ynaffit job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:3718:b0:119:e569:f62e with SMTP id a92af1059eb24-121722ecbe0mr22094565c88.39.1767061371145; Mon, 29 Dec 2025 18:22:51 -0800 (PST) Date: Mon, 29 Dec 2025 18:22:49 -0800 In-Reply-To: <20251205-stable-disable-unit-ptr-warn-v2-1-cec53a8f736b@google.com> (Justin Stitt's message of "Fri, 05 Dec 2025 14:51:41 -0800") Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251205-stable-disable-unit-ptr-warn-v2-1-cec53a8f736b@google.com> User-Agent: mu4e 1.12.12; emacs 30.1 Message-ID: Subject: Re: [PATCH 6.1.y RESEND v2] KVM: arm64: sys_regs: disable -Wuninitialized-const-pointer warning From: Tiffany Yang To: Justin Stitt Cc: Marc Zyngier , Oliver Upton , Alexandru Elisei , Joey Gouly , Suzuki K Poulose , Catalin Marinas , Zenghui Yu , Will Deacon , Nathan Chancellor , Christopher Covington , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Justin Stitt writes: > A new warning in Clang 22 [1] complains that @clidr passed to > get_clidr_el1() is an uninitialized const pointer. get_clidr_el1() > doesn't really care since it casts away the const-ness anyways -- it is > a false positive. Reviewed-by: Tiffany Yang -- Tiffany Y. Yang