Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1952302lqm; Fri, 3 May 2024 10:56:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXEOS+ejVAm2NA8tnchch7JOgEdAK7fQnPbezbhMu7BNu2EF0h1iqJ593kVi7QPaWWyUy2J3649VDz9q6UnD+cLd8HDZtxxFO0Ft25s+g== X-Google-Smtp-Source: AGHT+IEn/ud6L/FTMbJieHaUZBrYHXgeGL9T2vzkJH6dEGzpS1FE0XkqJpKx1BVGhjNveJPg4qks X-Received: by 2002:a17:90a:bd86:b0:2b4:3659:83f6 with SMTP id z6-20020a17090abd8600b002b4365983f6mr2522234pjr.2.1714759007759; Fri, 03 May 2024 10:56:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714759007; cv=pass; d=google.com; s=arc-20160816; b=MU5SqRzcMjSaEsFVGpkRVMuWCGsGtlpwfU+ZkTBEneOtgXVtejbzFdvAa2uyzhJ2rB nJeRxENVpgdZVrVMrYzrpIeZzTQX2qfxw5uARj+thc9N/HSsQnWYlHB83ONtHmjhOGur a8PA/Xj72OOZBfWCHtbQXNJ7U9rF4nN2TqOG4CDv0LygCG0T88GrTRycvhGfKgvw91mp KIuyZNYt8pJmUWdaFmEoPEtoXEoUwGela8sEhWF40j6rGP5oCbE7ln0XKcwD2GCtZQkj K4oqiGmi7ODmye+qdYozVGHg/UZ5Fw+zF+kGIYQrC2TSFkmEWmjqMS3vrXvsfaQzSUO5 eM7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:date; bh=mVau4SQ9OnY1TYFgZ3SnItVxVCQLPzoWn/o0fmjLMis=; fh=kKD51KF4Zcl2E16Ljirk6tMEAdpFTBv/oAm2qWFsX1E=; b=MvWuk/zDNP7XZVVhJXlPVOLdiL0fmlUX/5g83ALY87SVtkp0qJfewHZlvr7Da77WxS VnaWgUmuKOwpmyg3IwzFqAu4MG5iJkXUSs/3N41bX6l8hqBLyoUJTry9f3xLg7hu7Up0 vqoho7/Un69SuhCmmDj14TrPXdrOacq6TOuGQHJJiowaq3WkPXU9EVp0lV7kpoKsNuas aeZUCVLDGv3jypxghtKJox2GzvljTvyLRwM8UuPPdG/m629i+n8JuPnVYh4qdh+SXS1z 7KQdWCXRP055ytVd67/lskE53b28KOvfv9RqsrszPVJEG1m6re3wVbqYcDGU6S1LlzZ5 PaAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=UjeLcRNx; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-167994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167994-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id mm10-20020a17090b358a00b002b2823efc8dsi5779364pjb.183.2024.05.03.10.56.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 10:56:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=UjeLcRNx; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-167994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167994-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 601E5281CB3 for ; Fri, 3 May 2024 17:56:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 693EA158218; Fri, 3 May 2024 17:56:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="UjeLcRNx" Received: from out-185.mta0.migadu.com (out-185.mta0.migadu.com [91.218.175.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3E5CE1552FE for ; Fri, 3 May 2024 17:56:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.185 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714758998; cv=none; b=YFOZrxVsjD9W/WP+btdnWjPjzAX5zMsF4R5eiWa9vAcvqzHQQN1b3+jqOMPGGnkFP6lVM+FS3fMm28/q2jnB1YJ8SM/rQe3m6nrdbuyNX9F1KQO+84zVqpv9+pCWtLEvvY/pt0mms4/Wul/nTqpeaOH4NtfcZwdkJj0DcSS7fTE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714758998; c=relaxed/simple; bh=iF+tuzYxBnhZHA40zu1dubng7ObuiWba8XuUcB+UZ4g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=n/JsRoa/iox7cUuQ38aeznvKPq9ojr8+QAFjBWd6zQrm0Nwb2amfp1PlFzZdfVgZnAMv0W0ZlTxz772uwE7Cql4WCGlgc4eVqmKhrRMY580wCxGbS047/0AhYZD8Fui/erxAVDAqwt2HG2HkBDM9GErPKMLc9nPRPqVntBV7yDM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=UjeLcRNx; arc=none smtp.client-ip=91.218.175.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Fri, 3 May 2024 10:56:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1714758995; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mVau4SQ9OnY1TYFgZ3SnItVxVCQLPzoWn/o0fmjLMis=; b=UjeLcRNxuulhmedCPn015/NI2hPsSRRWm9SkBR8NsrUbJJep2nZk0ypPnff7j28Pwq31T1 l7DOR0OSaitDdyeOqXYfZRj7+6rJra3ymR7TBRZaW+jH8vi8lh6BL7lYJPHJhqcnYvPpiJ PXaKoHsVGJ4Hw9ZWBAhkiIngoDIrR9E= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: John Hubbard Cc: Shuah Khan , Tejun Heo , Zefan Li , Johannes Weiner , Michal Hocko , Shakeel Butt , Muchun Song , Waiman Long , Yosry Ahmed , Nhat Pham , Chengming Zhou , Valentin Obst , linux-kselftest@vger.kernel.org, cgroups@vger.kernel.org, linux-mm@kvack.org, LKML , llvm@lists.linux.dev Subject: Re: [PATCH 4/4] selftests/cgroup: fix uninitialized variables in test_zswap.c Message-ID: References: <20240503035105.93280-1-jhubbard@nvidia.com> <20240503035105.93280-5-jhubbard@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240503035105.93280-5-jhubbard@nvidia.com> X-Migadu-Flow: FLOW_OUT On Thu, May 02, 2024 at 08:51:05PM -0700, John Hubbard wrote: > First of all, in order to build with clang at all, one must first apply > Valentin Obst's build fix for LLVM [1]. Once that is done, then when > building with clang, via: > > make LLVM=1 -C tools/testing/selftests > > ...clang finds and warning about some uninitialized variables. Fix these > by initializing them. > > [1] https://lore.kernel.org/all/20240329-selftests-libmk-llvm-rfc-v1-1-2f9ed7d1c49f@valentinobst.de/ > > Signed-off-by: John Hubbard Reviewed-by: Roman Gushchin Thanks!