Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1282845lfc; Wed, 1 Jun 2022 14:09:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyde/hMpi+zsgDPXOhrpfUa39o3h7Kn6h+DO7cJjN/Orckidf/L0hw2RwyxFMF4X9btgtHJ X-Received: by 2002:a63:2026:0:b0:3fa:cefb:e408 with SMTP id g38-20020a632026000000b003facefbe408mr1134488pgg.57.1654117758942; Wed, 01 Jun 2022 14:09:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654117758; cv=none; d=google.com; s=arc-20160816; b=Omces5SdzsymaXKeZIRIB7w6LKfJXR27HT/uggsOVQj7OqhcRKlN1Sz+WrdTUNFsfT t8/N2NGlnOfjK26v0fbB9ePIIVD9lDxH/4wdmw0r8TiE5wO0KIN6O4SbYSmlhho4Q+8C STM0lkXyrZllSbHwFOXxPbvAD2RuyXf8Z544IZ2BOHJEFw9Xl9O+m8kIcLnnT25vA9zV xZ4HIE3xL/PZFNwylU6uErFI7gSMu9h+c0GPTtjpxdC4k+gQTIRxZR42lDtHa74RQjS1 29ctMhBdlIOjK4B7cvzhe/IWyVkF6EitRgFZRqnasc/wB1UVTY5ubUKhJ+XA1UUn/r9I ogcA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HFQzk6rB/KAh6m+woi1kY6eqsVmROosVdlyLTmbgDkc=; b=U/eKJmMh/wvRZH5wA/+E0Sf5Q/VP2tN+jcDwsZ7wFY1h9iucsMRTd2A0t3SJ1Zgrzz SxLzwj+ttjyipk6N0THUcYLZYznHFqZvual9lNIZ2pBYwP+bHKQc0HMtoEK9RoaAgKA+ +KXRGACogwQ85XsR049WcnFfA//13g2wxqJc+Fa+Je+WQe07cseWEtrnA1Z1CRcPTPMS VcRGnHnk6nAZbxyGskPNiwvkDQJIxQYWtzx7Xtr9zDgHl7BV4txLCm393PILd8eSnc7Z usLIVhHBtDBW8LBF/NslOPm5dX5IZuFlOm9Uc2jyn7QtQifH6K3hp58xfA2MdYzL8OKb qfYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kpHqCHW5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y14-20020a655b4e000000b003fc52d92df9si3632588pgr.203.2022.06.01.14.09.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 14:09:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kpHqCHW5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7D3B1214434; Wed, 1 Jun 2022 13:01:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234426AbiFAHup (ORCPT + 99 others); Wed, 1 Jun 2022 03:50:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343726AbiFAHun (ORCPT ); Wed, 1 Jun 2022 03:50:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE75C9CC88 for ; Wed, 1 Jun 2022 00:50:42 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 212EF612FD for ; Wed, 1 Jun 2022 07:50:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B292C385A5; Wed, 1 Jun 2022 07:50:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654069841; bh=PRgKqGr8Kck04Yn5U47Mvt1hxhk7Huy5KP4Y5la+pnI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kpHqCHW5xU5xuJ04MQacUZTNL7hl0VmJUD5NOP4VrmOVD7Gg+D1VG8iJIVkepEP6V U2bjo9vpiwsouLEzzS05ctExfiJ6CUU2+niUcskEn1aJ0nQtXt6bHUkQe/ZFIiRaIt mvxSHlgrRSkj4NlWV97MSR1PWmMRD53vqOUNN+0ry5VgVScZm4GEfpNQQeV7Z/8GhY GthgjFpHlshtuaAFK5MKNfrlC/aDUKaJMARe/7tc27VBH+LG6R6vouZPaiVN7ElWRb tMiqmxi7Yf9+jvEwuMXWjp1eHlw3hOZT3I4/xMH3o655JVE207B03NTq5dI25JgWfM kwyX6xxDgShJQ== Date: Wed, 1 Jun 2022 09:50:39 +0200 From: Mark Brown To: Catalin Marinas Cc: kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: arch/arm64/kernel/fpsimd.c:1944:55: sparse: sparse: dereference of noderef expression Message-ID: References: <202205280635.XKlMkfKD-lkp@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IO56PR2s3EuDY7aL" Content-Disposition: inline In-Reply-To: X-Cookie: May your camel be as swift as the wind. X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,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 --IO56PR2s3EuDY7aL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 31, 2022 at 05:57:42PM +0100, Catalin Marinas wrote: > This looks wrong indeed. IIUC, something like below but waiting for Mark > to confirm: >=20 > diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c > index 819979398127..ac521b3403d6 100644 > --- a/arch/arm64/kernel/fpsimd.c > +++ b/arch/arm64/kernel/fpsimd.c > @@ -1965,7 +1965,7 @@ void __efi_fpsimd_end(void) > 0, > SVCR_SM_MASK); > if (!system_supports_fa64()) > - ffr =3D efi_sm_state; > + ffr =3D false; Yes, that looks right - feel free to add my Reviewed-by or I'll do that when I see the patch sent properly. --IO56PR2s3EuDY7aL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmKXGk8ACgkQJNaLcl1U h9BhUAf9FRg75H4oV4i/BwM7cGHEToFEzf56u9rqFEdInDw0ljrQDX7aLerEwY+A bpZY2Vd3KKkb+wPDi9vlIYTCAyhPzbEW7V5Lui4BTk22XxP+soTvYVKOn1N6zSbs XQr6JzHq3iN3yJRGtTO84kjIRvHqnr15gnJCJJxdNOndSqUWAIJChs2mpQbuvKSg /UKDHv5Dv1Bp6vSjrK7ftVd24QVT8uIOteXEKwwNCGnCMXq5pIitboYcju7aKEv8 PHsDO+mbqg1FV5Vs69h+D6S4W1+yhDBqZXgNZBlw8Gos5HwkGM/TgLwpMtcqdP40 Ukm2Y6aY0UUHBWIfTmvjqOFK2AWJag== =uyNY -----END PGP SIGNATURE----- --IO56PR2s3EuDY7aL--