From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) (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 A3FCA3B3C05 for ; Fri, 10 Jul 2026 21:10:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783717804; cv=none; b=brQHj0TU1Y5OXDPRERM/Nfr1ilJRpmWgn9x1burVBHVMip4Yt5amZhATJQIEs/dPRX102Mvu6lW32mnbCbqEGNn3pDhgUDe81uLgjssw6ZY61aQS+cqsNEm9nFbGNFinlg1waaJfZv6Y6i9+poHjvIr+m12CWk7sWEduiqM0Yko= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783717804; c=relaxed/simple; bh=dNW60Nn0Pk4RAFrYvjK4f4wy+wh7S7nAq4Uli4yrIhU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NgvEun1M+e2l7Af2utkJkTIy86pftdjXW7iG6QNiGOkrBR5wWYcbvTb842nECUiFkqnFZqrBYA0ukoCcI8Nj82Nc/v3BwNRpXSQs6APLvdI+RIFt2+xoOIH+7tDkUJHobr1401JNanaoyNGqeEYjx6qGqJ2ExaPZoPbg8AltpoY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=IeOfG/44; arc=none smtp.client-ip=209.85.219.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="IeOfG/44" Received: by mail-qv1-f51.google.com with SMTP id 6a1803df08f44-8ee6912d86dso10746926d6.1 for ; Fri, 10 Jul 2026 14:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1783717801; x=1784322601; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=FM5wmgcpnXqQ2LPOtHbLfNIfX5IHSF2YMfcySjsQd8k=; b=IeOfG/44lUDhZNIy2n53/oJ2urnUwg/8zqSNAqnWhDDzsuc2hRT/2MJ44iW3PIUUdY 0cKCLWB1ldejcRPaxLKKE2HNwwb5n6ERzHg4JGWFDufdCh56F770PixKeR5QwDzQznz1 Jmx/9iGCwJs5BmrWXg5kE7KtFI3LPyXEmWOGL3lAh64raZt3/H3BRH4jM+3Ckk1pq0gS AVdCqYlgpu3IdxLLPaWkz2qyyo3FTRx6zjiABH8qF1KwW2Jm/HULxy3PrZTkOXDKa4ZT b0yZMAD13765/Yo1FNsj9VMVnFaBJKi3QlTJITHTFpoqoSFecjMGs9mDCknxy9BlA7ql oyTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783717801; x=1784322601; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=FM5wmgcpnXqQ2LPOtHbLfNIfX5IHSF2YMfcySjsQd8k=; b=QFMIb+rYi8i8sVDIx5Fn0shItEvoooNnH5VoYa90BhwE8OOJP0aRWZYiyb/zBDUlBq vemDNuDw+F23BVFSUf8M2S+V3KefARxLxxQ4zGrRc7cXrW+0E+CD5ksNIUvCwfnTzKLJ 268LjseiW/4thWdOHroldfzSwkeH44mcKij94V1rE5SbXo4cmohT43eSsuEKu0VGJUpC Kj76VCEFGDTuL03Zi2LG5BBYColTvZZfEsTHmQvMi8xYwLT6HUf0Yd3+1WfGb99pDyjp gdOvGa35C5PIPoHfTFdEzgmZwrIXvvfWxTSGE9FDF6dIe4fj0Ix3dEPr1lXZysNFqkzJ LzNg== X-Forwarded-Encrypted: i=1; AHgh+RpNkq1ezHMPUqu6mN7C1pOfj4qBUr4VJrOmaQC/XEHtr+JVqNWHuAw1wERL9gmLprXqX8TAMXpXuA3N7w==@vger.kernel.org X-Gm-Message-State: AOJu0YwAsIK9cx45p/ZAt6wVOqkHdohtECx+SjPSaF3uw+ShmeUmGiRW Ub/eWmXVE0p5pEkB4Mhpno+hV63Zgr7ygHe8fY8BUBBbVMaUwWRnLfBDQ80P440BZm4= X-Gm-Gg: AfdE7cl/8ZXOIP9AcgC+aJemTDYWdWRJ/QV1pafStzv+or1lahJBoKA+4x/mDZKqwxw i7o/kDXtef2CmRy8JHAkB5xmMNxGDGO+sYvuoK9zfYL9OLSXMscmZHmcHYU6c2TeW/o4iInY5Qy b08UuAI1gasUfFa69inVxgOXZzPOoOWkGsQe1TIY9hfpJOKBvJNUkqXg3erYYDwyxvMXDPUoKbq BrJKZFUDy0Z6Jk3m8u2wu9cH0swHpXUhd+uJlfQFb1r9wokokygxk+4TXkWbpgHKs8nNwOkkxTR RzEHhGyFsmR6FHsL9SqyVYkKmY3IIUQzFoeHq6LiDOF9mkAZaoIE36/z2WEU4KWmi6pHbPE4UyU bMBiY6n5Nmnwa8HzZq3HslmrzzIN97Zlp0vWGkBaECipHllQ7ab+7SLAy2a0bH9KCjKByvA+kap q/n518+OwFYIFuYc8h6qZelZIze4R/kM9Bse8CSfqYWu7+mpMwOW+bpqdTZH6czXP+wbRD X-Received: by 2002:a05:6214:31a1:b0:8d1:d1e1:8360 with SMTP id 6a1803df08f44-90400b7f3e1mr9010646d6.39.1783717800595; Fri, 10 Jul 2026 14:10:00 -0700 (PDT) Received: from gourry-fedora-PF4VCD3F (pool-173-79-60-52.washdc.fios.verizon.net. [173.79.60.52]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8ffd87c8d4csm52955776d6.44.2026.07.10.14.09.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2026 14:09:59 -0700 (PDT) Date: Fri, 10 Jul 2026 17:09:54 -0400 From: Gregory Price To: Lorenzo Stoakes Cc: Andrew Morton , David Hildenbrand , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Rik van Riel , Harry Yoo , Jann Horn , Lance Yang , Pedro Falcato , Russell King , Dinh Nguyen , Simon Schuster , "James E.J. Bottomley" , Helge Deller , Alexander Viro , Christian Brauner , Jan Kara , Dan Williams , Matthew Wilcox , Muchun Song , Oscar Salvador , Masami Hiramatsu , Oleg Nesterov , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , James Clark , Zi Yan , Baolin Wang , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Miaohe Lin , Naoya Horiguchi , Xu Xin , Chengming Zhou , SJ Park , Matthew Brost , Joshua Hahn , Rakie Kim , Byungchul Park , Ying Huang , Alistair Popple , Hugh Dickins , Peter Xu , Kees Cook , Marek Szyprowski , Robin Murphy , Andrey Konovalov , Alexander Potapenko , Dmitry Vyukov , Steven Rostedt , Mathieu Desnoyers , Jarkko Sakkinen , Dave Hansen , Thomas Gleixner , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Huang Rui , Matthew Auld , Jason Gunthorpe , Yishai Hadas , Shameer Kolothum , Kevin Tian , Ankit Agrawal , Alex Williamson , Paolo Bonzini , Shakeel Butt , Usama Arif , linux-mm@kvack.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, kasan-dev@googlegroups.com, linux-sgx@vger.kernel.org, etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, linux-tegra@vger.kernel.org, kvm@vger.kernel.org, Russell King Subject: Re: [PATCH v2 33/33] tools/testing/vma: output compared expression on ASSERT_[EQ, NE]() Message-ID: References: <20260710-b4-pre-scalable-cow-v2-0-2a5aa403d977@kernel.org> <20260710-b4-pre-scalable-cow-v2-33-2a5aa403d977@kernel.org> Precedence: bulk X-Mailing-List: linux-tegra@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: <20260710-b4-pre-scalable-cow-v2-33-2a5aa403d977@kernel.org> On Fri, Jul 10, 2026 at 09:17:14PM +0100, Lorenzo Stoakes wrote: > Update the macros to output the compared values at hex for easier debugging > when test asserts fail. > > We have to be careful not to re-evaluate expressions as they may have > side-effects. So update the code to take local copies and use these for > both the test and the debug output. Aw you found it before i reported it :] > > Also remove unused IS_SET() macro. > > Signed-off-by: Lorenzo Stoakes Reviewed-by: Gregory Price