From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (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 31649EAE7 for ; Fri, 31 May 2024 20:39:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717187985; cv=none; b=PSRkF7MPw0E29JAzYDlnawTYuZN2/KWGuL4vEaiBFAcpXAaxZ2mYKI567YRAUcaK0kV4nSEPQBMMeSA4rq5jdnZy5mQ9eWOXeaRrWOjwz5dPqKSKuBnBfkxO/hivp5q0vHcGuLb2q6UZdGIKbY3Wq6IyfB3Jaq6XyAs++unUShU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717187985; c=relaxed/simple; bh=shhio0iNEuO7LiDKGHdia85hkYDhPRfghUqasfZZD+I=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Md/6pzXi9/PTEVwWtwfjuLMRot2zSqfUTdpnD4UB74oUHhwBXraFic+7gGt+7zYYjyGFnU31cyZDzmh5BoqUDWoYPO7yUdK5q9gvd9EZHelY8cSf+wDwCJrIzqPJxMgdCe8PwcNzPYNrDswpeZDXKoAcEEBzjByPy4kk3sCyAf0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PSPqzJel; arc=none smtp.client-ip=209.85.166.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="PSPqzJel" Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-7e22af6fed5so11683039f.2 for ; Fri, 31 May 2024 13:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1717187982; x=1717792782; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=C6cHgWjpqD8fz5b7y0liRbomCTR9fA7E/zBbxbh5sw4=; b=PSPqzJelWORugQHF9dweOJfzNzUSvvGrJQnLuiYc4EPbX+WP1hTPhy8LD8v8K2lwHr xf9IbD0sqMuWKYU9W03BR7v9OlVsMnV/tNqbqYF/cnNizW7pELx1ZqBMHOa89tXroCB7 i/W5uryS1pEQ+pMBEjvJZBqTBNREAhvm5ilUM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717187982; x=1717792782; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C6cHgWjpqD8fz5b7y0liRbomCTR9fA7E/zBbxbh5sw4=; b=G0tqHvGVMwaOb1fL8xfB5YGsCTQ7f5HtMAA2yBTk2QSvzCipEdZHKUfGbcSeb/fifJ Nnd7D3X6FG58U5SyJiKJnVp7+mlWiUQUl7j0BAAY8ajYhbse+TFDsiaJbNfdk6BOxbYC adQJhDG5qo3lUXZcb97a9BRKzqbdmDMH4aSqGo+ZjPEmWvOSxc/2k9KUXqXO8wQWMDDJ HoWCO99YGC/2Vv4M/pcS0keJ3jryCynDVgOE4jpxU1pmQaqX6N1kx9WBbbH7uqifvQja oKn83T7LLBIx2KdgsR+cl1tFCkXv28o1Xv+HCoZOeTavoyh/kGNGqqVcb8+sEKWRL2bN tU0g== X-Forwarded-Encrypted: i=1; AJvYcCVEfNQB8SP4usNvv+qqpSuwn9Jl8ot22v700PHkdrDfgE6+ZaycgPghgi/D2E6t4M6y5SGVkCbERLDnZGAu8j4e3Y2P9VzO2KGlFqgw X-Gm-Message-State: AOJu0YzlkiLGhZoQCFALubxvy+k+56X2RVg0G5qvTSfF6TT8zY0GRg/x SoEeB2mXKuOwyvB7SZwp9u254HAiYvTg6UrfJQnYbTfeOU27rz3H07V0Z4bwoRo= X-Google-Smtp-Source: AGHT+IEi/yRk3a3BA5WhOOsakdFKAemq7R0bofiAbYYvoIhENWSoZzpQG/FvvYP3/VSRcUgV/PlyQA== X-Received: by 2002:a5e:8b09:0:b0:7e1:8829:51f6 with SMTP id ca18e2360f4ac-7eafff1f512mr323936339f.1.1717187982213; Fri, 31 May 2024 13:39:42 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b562a839acsm269349173.67.2024.05.31.13.39.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 May 2024 13:39:41 -0700 (PDT) Message-ID: <0394faa7-af19-4929-a1e4-00d21d0749aa@linuxfoundation.org> Date: Fri, 31 May 2024 14:39:41 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/3] selftests/futex: clang-inspired fixes To: John Hubbard , Shuah Khan Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , Edward Liaw , =?UTF-8?Q?Andr=C3=A9_Almeida?= , "Nysal Jan K . A" , Mark Brown , Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev, Shuah Khan References: <20240531200755.128749-1-jhubbard@nvidia.com> Content-Language: en-US From: Shuah Khan In-Reply-To: <20240531200755.128749-1-jhubbard@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/31/24 14:07, John Hubbard wrote: > Hi, > > Here's a few fixes that are part of my effort to get all selftests > building cleanly under clang. Plus one that I noticed by inspection. > > Changes since v2: > > 1) Added a sentence to the .PHONY patch, to show that it is removing > duplicate code. > > 2) Added the actual clang warning output to the commit description. > > Changes since the first version: > > 1) Rebased onto Linux 6.10-rc1 > 2) Added Reviewed-by's. > > ...and it turns out that all three patches are still required, on -rc1, > in order to get a clean clang build. > > Enjoy! > > thanks, > John Hubbard > > John Hubbard (3): > selftests/futex: don't redefine .PHONY targets (all, clean) > selftests/futex: don't pass a const char* to asprintf(3) > selftests/futex: pass _GNU_SOURCE without a value to the compiler > > tools/testing/selftests/futex/Makefile | 2 -- > tools/testing/selftests/futex/functional/Makefile | 2 +- > tools/testing/selftests/futex/functional/futex_requeue_pi.c | 2 +- > 3 files changed, 2 insertions(+), 4 deletions(-) > > > base-commit: b050496579632f86ee1ef7e7501906db579f3457 Thank you - applied to linux-kselftest fixes branch for next rc. thanks, -- Shuah