Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp45151lqh; Fri, 3 May 2024 12:50:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFeyVfYAtVhqEvCjM8bvtQEPU+dstR4RKIXjACdmmUfqdwppyCJOWcsMlsYNBZWedhBpSWoZ4AbrWFcIxW+7/OYZTdzvDMPnMD4QZc/g== X-Google-Smtp-Source: AGHT+IEE6JR5bPC9iGdM+sodgcJgeMFdFmVSLO47uXIlWUrtW+U4azo3oTX96JPo/gtYMrHQurvm X-Received: by 2002:a17:906:5fd4:b0:a51:d522:13dd with SMTP id k20-20020a1709065fd400b00a51d52213ddmr2256172ejv.47.1714765853067; Fri, 03 May 2024 12:50:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714765853; cv=pass; d=google.com; s=arc-20160816; b=IgBaerd+faezK+Z6/rluvr/y7QP1N/6W2eAYCMHGZE9z+hv6nbloSsQg6UbCzw+Mb5 /7SM1srZg96eHAMlTpYHYdM3Ujjre5l6dksRz7V4KZXoyFGFc0oac2l4NqVbgGOyjjEh 7q90fKyNBIw8ehYEI4PYna/MbM/eAK8SqZLZu2ys6v1UrMpwiU/pHpoMKqafWXujHz7j Cgv5qwxHCj4C23DV5nnroTKP9pAjaF9Ae4hvrSzWye6XRcSU2opLF+NbkLy3aEz6AAs3 FFf1C17Ko0iawjIEf2lsNxT8ndrZQpvOGS0pFdfiwP+zePDZKXLfLPCc1idmF3SccBj0 1vTQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=BuVUTGivGv+RNT3apO0p2n+zz8phIuPLwQeuA6Csm8A=; fh=zcwwVWQjcYbJ49jYoY/xWLOrAb9BYCpNW6ccoYD+fwc=; b=w476DZ8LVLtIWbGrpU16Mknwk5FNDVPsATPmYmhyDY7BxLhxkq1OxxlI3Kc+E+oDKU YLAMgdp/irftSBsnL9dDpIDz9bjaOuIxN6MWyHmneo4+/lAOKDsvz0WEeHRNn+WHwuOF ZCyx6PCWpPgRkWF/xzypdMo0gtcl+41FTNlrSbw0VHXg9GrPwnVMZyZX6KUzm8sV3hEV eoBWJmpQk1OuYFAXMpvdP8TpTTXwhtM+NzRdFyprdQ7Vo925rLRKoN0oFGFF5djXWijP WUdJYWFWA4h+RLxx8//LLkvdT++u6x8MBjjKj0UdK8e4mHoiQKvT2C9AYiexsA4uHlR9 XG8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IjsYKxmY; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-168153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ji12-20020a170907980c00b00a59913d935bsi1001359ejc.692.2024.05.03.12.50.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 12:50:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IjsYKxmY; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-168153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id C827F1F22055 for ; Fri, 3 May 2024 19:50:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6803158D70; Fri, 3 May 2024 19:50:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IjsYKxmY" Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) (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 A1269D51A; Fri, 3 May 2024 19:50:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714765844; cv=none; b=o65FYk/8WIysCF2ZMU0owfRdEGuhIuuypu4NOuc46mwgbuSO7ND/FRUBBZ96nWhNwXBds8gJDsbGIsxRL2DaJP9kMkHtgHm9a4WHlTw75Q8srOHudmQ4E0SaiAWwrbr9SkWt465ghJ5kKzqjblhhldtymRQ8QbIIwKy3tq9skQI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714765844; c=relaxed/simple; bh=KN3OMp2RxTcIZRuhyPTjSWHGJjFCoqc9Q5ufOJcmQ5Y=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=uEDUoLOr0zFAw0mBeThMkNqz1hHHKiz/BBGoKPqx1GVT5xugFEUZCcs2InlnZius8UfA8cW3uN5T//eXBPZzNCmPacDJe4QJu2kJQy3XS1CB6LWeC/3ng0GyMwoAu9cwg19NTgxirvM0YwC+/LqC0AszRGKYIec0QUoxeQe188Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IjsYKxmY; arc=none smtp.client-ip=209.85.219.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qv1-f54.google.com with SMTP id 6a1803df08f44-6a04bae512aso264226d6.2; Fri, 03 May 2024 12:50:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714765841; x=1715370641; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=BuVUTGivGv+RNT3apO0p2n+zz8phIuPLwQeuA6Csm8A=; b=IjsYKxmYgzJ6QPqKHHfiZjZBG+4Aupn9Zv4gT0HYIgmD/kCuYpWwZvOEHkc06AhPJU JV1OBrbtFRlKgqE4Hfv/encjGtYzN3SZFAjd3eWL7abu0HCFYzNaIkcKytN4pVQna5j0 KD6hh9rE+QCuFIiq6UA97yPZvjdOXIGIdUarJGVx6m8Js0eta2xZE1az2PPYoQFQrbAV vm0cvmZwi26Pztbu9YbKX8txReXdEKh3vNhJnZe7dn470VOCIRotjZNivXXOqJWqJofj iO5BlM5JtgySYx/7A/zZ7iYWBMkJLGBSEabMxekSZA1VefdEij/TyhO4k3TG1iW2GpbG cQLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714765841; x=1715370641; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BuVUTGivGv+RNT3apO0p2n+zz8phIuPLwQeuA6Csm8A=; b=GkENZD4CjwwsIjO5i4FUf6UYkFUHGBzDzGCpLx/Xz5c/DH5K1dSQH3HFhhE64JcCdJ 98Bc/j4HguRQva4khcgnw7k7TC0FmhUBnrdiKK8ZQ9oujcmJ7qEEEnm6SvbqnZowNTCK SZtao2tNvP32gzfFtOyAdmtsoSy1XICIHrlF1tbEL7ZLv9+XGfuemMYRfzq9snJPgU1D ggowPqfoSWYv3KJREtMbkgdueHHtqHP2HWqVyixMejBN70Vd874wvJMlQphF8YUqoQEj 0r17GWyeJvUi9w5wWPQK8Zmjlr9P9vYMN64whUBe0jsUDqbbXmVQAL8PvNcMbRpr/x1t ibNA== X-Forwarded-Encrypted: i=1; AJvYcCXaoMmlcw6ZX5I0EKXX4DsoPd7UK3m7Og9pAQupoBei45dOnwMCLteygjmvUxobHB0MOiSoYBFMU8OtVIvj1FS5/2RoovkrZSjXk+/CxSz8pqtFdM6mmhEMR32V+YHdZkaLcCuZopp7TikvQSAfNahl06St698NK0fkVAdATVo+KRcizlNMtQ== X-Gm-Message-State: AOJu0YwohYinGBzpnVOZB0ok26g6RWaifglNTXCwXlUoMaCXuTswuFhg 03zFU/mowiFFwDc2oo55u5Lf2Hfie9WpUGavHAs2S92JPhuSTswzZUv12w894/v8fatKygciMT3 3H0C/GIFv5OLdZU0aNJk35Kic1lM= X-Received: by 2002:a05:6214:da8:b0:6a0:cd1b:9f9f with SMTP id h8-20020a0562140da800b006a0cd1b9f9fmr3712807qvh.38.1714765841550; Fri, 03 May 2024 12:50:41 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240503035105.93280-1-jhubbard@nvidia.com> <20240503035105.93280-5-jhubbard@nvidia.com> In-Reply-To: <20240503035105.93280-5-jhubbard@nvidia.com> From: Nhat Pham Date: Fri, 3 May 2024 12:50:28 -0700 Message-ID: Subject: Re: [PATCH 4/4] selftests/cgroup: fix uninitialized variables in test_zswap.c To: John Hubbard Cc: Shuah Khan , Tejun Heo , Zefan Li , Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , Waiman Long , Yosry Ahmed , Chengming Zhou , Valentin Obst , linux-kselftest@vger.kernel.org, cgroups@vger.kernel.org, linux-mm@kvack.org, LKML , llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 2, 2024 at 8:51=E2=80=AFPM John Hubbard w= rote: > > 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=3D1 -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-2f= 9ed7d1c49f@valentinobst.de/ > > Signed-off-by: John Hubbard Reviewed-by: Nhat Pham > ---