From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (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 B6EF71DDC07 for ; Tue, 19 Aug 2025 23:12:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755645148; cv=none; b=etP2mEkev9toXJemg4Tf0+smP+tvLVbEeTIV6mN9mCuxESo0NfzuWaXDphUa+6h3hpOv4Z9Fl3fo3US+v4Au3f/AhM40TMtqCCBzy/hoU86vJk84667xQhV9xYGTP58F2CoWiNrui1LtwmEO9Rmmd14rq/FtbHJV8R72uZOOZL4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755645148; c=relaxed/simple; bh=v2vX/cnMmP2ZmwIYBg7JQT2n8UsblFCE1UC3UDa+6zo=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=aMjP/KrHrvz+vU3gOUFfKx+j1lyLzGyIInrluGzRvDmbb8vQIq40mZraSHtnitqd8vNIFzi2+sgqJuTeWaw4x78CjjxqigX1hw7MvBFw1PEM7/RMQCVOb592gBgqUGBu1VmuKYYoZRFolF3RWsbjU8lTB7yPgkcdMoULp/0PnA8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=riWNlU7C; arc=none smtp.client-ip=209.85.216.74 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--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="riWNlU7C" Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-32326bed374so4969798a91.2 for ; Tue, 19 Aug 2025 16:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1755645146; x=1756249946; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=pS3XTdqqM+qHyeEmmcCU7Ef1sxc6Ffnow7aIi0ltObw=; b=riWNlU7CkSYQA/5w8dUD3pH6tJjhTcwVEvkB4vM6ubS8VX3o3aH65jQzt8qZLtwvV2 NAqakryFQHSpTJG+idUNkOb7S9jiCnDbie6kDy8aZap5+X96w7WEWSBEpXzKQPsdLn2N W/qOYrEIbUDWmNrFnm3DAJopKeFvmJidYPogkXpCZ88H6oUdejP7+AK8S3tdkKiY5dht fK4C0YcrRxHy/qr/+o6s394sbb7QI2xfUdLiEnPGFovVqcWgZN2+wN4tBMciWj6hZ2rg nMu9kelPpt0UJ2vs6OU3IRIYx7G0LekvXEFbaLOv0KhJjRSdXP0tG1n5iiCkZx19ULis X6Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755645146; x=1756249946; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pS3XTdqqM+qHyeEmmcCU7Ef1sxc6Ffnow7aIi0ltObw=; b=Z5R0FiDFM0UDXDiI1lSrC//cLjik5/7qIP4OYzwVqeGSOlxey6eqoN0VjTfvOBUQyN VjXHJO/vma0e2LPAcCYDhhcbB8o/9plymbS0IrbAkf3fuqUw3Vl9/e3UvpDOobabBfBB jgtpfGw2P7w+rz9++CrZe+lwKS6esop0yJhZ2jmdmWIZ0fV0Rtbkyt8dmaH4FGRTz99K 0b5LrXLXEkjO7C2mNqYjYAJB4R5DmzAq4ovUkxgbd55I2uvx2STWxYye5DUhkAcMc6Lw RHXUtpBSHYseM2GrdRS4wQtQEJEKV6pS4E0+EnrV3ZJi9ln/6gU5TjGOX4kKKMs8z7Z+ CkDg== X-Forwarded-Encrypted: i=1; AJvYcCXRpGaB4Cp6RuVaq3gqDTbFEV1cXxfdK/kaMZX3n2vxb5nChqiUDXoGMZiCiNjOZaI9FP4B2YeS54MBvWs=@vger.kernel.org X-Gm-Message-State: AOJu0YxUjjF4jbF2g6tbQyWh5dWNlF7J70w8+LcootiN7jtFDyBL/EBW JIjHmV85bd7YDhbERjodXL0iGQWKzt51v3f5ke3SxZWxQ6PyzU2rZU242dW92DL0i605vEaizb3 1pobjiw== X-Google-Smtp-Source: AGHT+IFmm3oxrqfPZ/tov0nsrjCsmOf23ZhirNJbODV6rD1jV29iPklcYCinde3523/OPAfLgSpC/Od15DE= X-Received: from pjyp4.prod.google.com ([2002:a17:90a:e704:b0:321:6924:af9a]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:380f:b0:313:dcf4:37bc with SMTP id 98e67ed59e1d1-324e1488b06mr977568a91.34.1755645146126; Tue, 19 Aug 2025 16:12:26 -0700 (PDT) Date: Tue, 19 Aug 2025 16:11:47 -0700 In-Reply-To: <20250624231930.583689-1-seanjc@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250624231930.583689-1-seanjc@google.com> X-Mailer: git-send-email 2.51.0.rc1.167.g924127e9c0-goog Message-ID: <175555274676.2809352.2693071242682617234.b4-ty@google.com> Subject: Re: [PATCH] selftests: harness: Rework is_signed_type() to avoid collision with overflow.h From: Sean Christopherson To: Sean Christopherson , Kees Cook , Shuah Khan Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Mailhol , Arnaldo Carvalho de Melo Content-Type: text/plain; charset="utf-8" On Tue, 24 Jun 2025 16:19:30 -0700, Sean Christopherson wrote: > Rename is_signed_type() to is_signed_var() to avoid colliding with a macro > of the same name defined by linux/overflow.h. Note, overflow.h's version > takes a type as the input, whereas the harness's version takes a variable! > > This fixes warnings (and presumably potential test failures) in tests > that utilize the selftests harness and happen to (indirectly) include > overflow.h. > > [...] Applied to kvm-x86 fixes, as this is still a big thorn in my side. [1/1] selftests: harness: Rework is_signed_type() to avoid collision with overflow.h https://github.com/kvm-x86/linux/commit/40d5b2ab0d72 -- https://github.com/kvm-x86/linux/tree/next