Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1102460lqh; Sun, 5 May 2024 17:00:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUzkAvWg3UYm2E0MM2dNwsxPX5fPT5d2T5gYlsTQOUfzAQ0JTD4F0eVd+4hEV3evgteXEHpSlxcHIbQ/DgP87ni2v8WuaoWzRc6o5OGw== X-Google-Smtp-Source: AGHT+IFpdnGCFUE+Lp5VdtnwRH3DAvPwdtFs2pwdI1w6Sn4mG6gaNX/0MhytoTtIXcpO8424HzhP X-Received: by 2002:a05:620a:2410:b0:792:643e:ee7b with SMTP id d16-20020a05620a241000b00792643eee7bmr12322188qkn.49.1714953635145; Sun, 05 May 2024 17:00:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714953635; cv=pass; d=google.com; s=arc-20160816; b=nfOg8io+mYm0UB3C6ndAKSXcM/tulAat9L0cDurxUhZ/oDgsZa6WCiOVEzJkhTBGJu p2HCGFrIa44Aytou3sBrLvdzg9gacw0XUo4yAoJGaETxUQgZ2klQ1jAu3hVKxw6BYHBG RiLJXxrDqRfvUeXXrYNWs0fGhkuseSr9IG6Jb/itBwfbceJUqUtRhD1PwTeMbZCQ28K8 qKw4KARyTuMWhyLtSNK5wI/zc79ZkpeIAUsPgNFG/PmZfc0ofTCQOHCFJn05DzgT/sZC 0BVte9wgTR7r3Y1ODslQYy68zittYizVonMoF6zwKxMgwbzHRyodjvGlIDDpMIgUgTtE n5Vg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=PYqHGnitE/0SzhIRVoY72IPkrnZoELJpZbxWf5Hfk98=; fh=AqQwPn1t9ju9TyWpGV0lZMHMyxowQh5KL4ZjMU/J448=; b=KHLcqPqx/ZjqW+retD9km2AetmeSXvnicq556hom/5l9XKt3x07kYq2dCK+S5PdNnM VyydH9r0WSkC1Nb+qSsCqbVnBqLWqIRVUldVywnuqKwosiUdTSJyJrTjfu1+aExDwCc2 YkHoCkmYU8eqPc7iVX0BlVgapSp6L2RxiMWfdXpVTj2YbDxbtZfUTtRTVRUkpS+RItoo sBszsYRsMh+/tcbbayYQZ8sWccWho814jysP+2sG0YUmEuDynXP3Gv+9vMr3WhaCpEGF GuiR/eAearO2IknR6IhSwlke/Q866q8aOEih75owsmjxa77xVLd9veRrnfpQ2cC0+kII 9Tpg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R27pRFDq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dc7-20020a05620a520700b0078d66af9e2esi7965836qkb.733.2024.05.05.17.00.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 17:00:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R27pRFDq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D95721C20A3A for ; Mon, 6 May 2024 00:00:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 884203A27B; Mon, 6 May 2024 00:00:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="R27pRFDq" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 979521DFD2; Mon, 6 May 2024 00:00:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714953624; cv=none; b=sisIidLHxk8yQsUrB4eLl4BfgtwjgoJaIT7nWYhCVx/+hxktx2dIXSLQmhE04W75unVvcCXpYGha9Jh01wGEv5MtstPynAhHrWwC4zD9wTZgp0MjUkWAA7hao2Ij9hWx5ef7JCbZkouK/rtV2PBgt2QjfQ8YhCv3uEFM+puafCo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714953624; c=relaxed/simple; bh=2u1/3kvJAWrzdDiPXie4fyL/1DuNBTp+COTkLBv/rTg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=K6DaREwArJyDUATwWkAljIOx3PxgjzFTGvJrNviHrGBNgyvNpMCT5GO/ZBBI+6pkBlEPJsduSR7zqLLah56fjGGIdsMNNvGboo+v3GRPZLVWKcd2V6+sW0+CDu+lq2QzF6mvyIUpfUy+H8mRdivuzHYeyzgdJ3eo22vNZQuj5hs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=R27pRFDq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B08DC113CC; Mon, 6 May 2024 00:00:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714953624; bh=2u1/3kvJAWrzdDiPXie4fyL/1DuNBTp+COTkLBv/rTg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=R27pRFDq/Qe3lrvLW6KnlINluIevql63lzk5Lr2whN/TVj4YSrg6l6zbtQFG4o+fq fGGiYfPjMhuSg7M0GJXdXq3vQBpZzHUjM0V6/K6UVoAjeWmMDooDcsrG0jICve8vbM KpGxLJmIWqhJVGyoQfC5XW23jZHloeKr4if9QxZ39SGxcNO9CfPjtRFQTCa74/Bung TVa3VZjiVXd2jVr7C/3MLhvZ1HkTrkJRBBs/U5R9bk74bTdWRiOLRIN5a8EUWN2xI/ d/ZbKqaenxmw56whNLFqgvsXga57WTpHn9OlFFOPnupY7K0/HCIEiHfaF+kZ3ZHsYB /24/YlnCsqeKQ== Message-ID: Date: Mon, 6 May 2024 01:00:17 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: [PATCH v2] bpftool, selftests/hid/bpf: fix 29 clang warnings To: John Hubbard , Shuah Khan Cc: Jiri Kosina , Benjamin Tissoires , Justin Stitt , Peter Hutterer , Jason Gerecke , Joshua Dickens , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , bpf@vger.kernel.org, linux-input@vger.kernel.org, Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev References: <20240505230054.13813-1-jhubbard@nvidia.com> From: Quentin Monnet Content-Language: en-GB In-Reply-To: <20240505230054.13813-1-jhubbard@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 06/05/2024 00:00, John Hubbard wrote: > When building either tools/bpf/bpftool, or tools/testing/selftests/hid, > (the same Makefile is used for these), clang generates many instances of > the following: > > "clang: warning: -lLLVM-17: 'linker' input unused" > > Quentin points out that the LLVM version is only required in $(LIBS), > not in $(CFLAGS), so the fix is to remove it from CFLAGS. > > Suggested-by: Quentin Monnet > Signed-off-by: John Hubbard Acked-by: Quentin Monnet Thank you!