From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) (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 527A716D310 for ; Fri, 5 Jul 2024 16:53:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720198394; cv=none; b=Wa8NSD5dFRh50+MRZen1GN9lF5uo+DVY/rwM2oXVrbQxneD6uFfn4Rc6i/aAOkfRn95KtpqBZT7LwEskVAjwR7ouEOV41uvda6Oifc0JHEaivz3xSNnGrcTHSmObvx+Jox99br+Tjao3Yb6nZu5OHyAZ0S/H6sEgfDoKDm98cjA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720198394; c=relaxed/simple; bh=RncQKJYbfy5H0b3XrKMgUXVHO/dixUXWg65oa+C6FdQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DX97OlvthFG14482Lexx7Fej5E9fCW+j+DNBw1r5arsr9loAieEgy0AGxZygOqF6NugatB6Rb3W9RO5ZE3Ea6lIrEQTv2E2456MI5aR/f1HQNvaLbyg4n/9+iLGAfLWrLzASfuyIsXivM7PPiJtf2J7YHSAbHeC/F7swjQVLdaw= 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=QmbBcDhK; arc=none smtp.client-ip=209.85.166.176 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="QmbBcDhK" Received: by mail-il1-f176.google.com with SMTP id e9e14a558f8ab-3764dd53b5aso879665ab.2 for ; Fri, 05 Jul 2024 09:53:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1720198391; x=1720803191; 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=DLrD/RGWBG3HDOWPiY9D8ry94UHKUAljIHl+MpL5ZcQ=; b=QmbBcDhKkK8AltFpBseMvUMyqT2le+vYC98EHNWS9rv6RXbVgILHHR8RYwnAhnjPJv vmpe1YRREbMgISedCeSfFhNAWvCQx2sQiEKv7ICu9vWZfsJQBDZVYN27KtLY5rP6NOkl X2rFmt3leO/XFstN8TP4/c6v3QM3xLfGXvtyo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720198391; x=1720803191; 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=DLrD/RGWBG3HDOWPiY9D8ry94UHKUAljIHl+MpL5ZcQ=; b=hvyqgaqrMFewWOwmSjjumaFEU3NcpHQFiEqQA7cG2Zf6Nef2tg6MN/ZUcWQoUlcOS8 0HhAngFYUrlJvR5ZjhlGicvRlW4it2Wf+E6iKcoDWKaMTHgaJKzuQERMIXsQOUgaJWLD 5ALzWxcMuPeGh7E0EQGfWU31trQ4MdX55SWE60t8bniSQpHSuGTx+ScgqwqeVcdhTma9 ZaBH6zkswSn5a9P6hyvOwj8d1nFl6XosODScFsn4wB5+b70Wv47jt8VAwaGNe1hzlUGw YYiyzEB4jwI9MheND9MHZcFq4rk73vYn21zY885/6W0gkNHKzVzMY0mgB5s2Qb8Yg/BZ rZQg== X-Forwarded-Encrypted: i=1; AJvYcCU6GybM3A20B/B2uIy1L0OGAkDv9LfM3BTfXagna6/A+taTcPp/qTYmPloSKylGCzNZmMfghPbJtjZ9IBQstuMPu7d1dX9+xtDDs2ei X-Gm-Message-State: AOJu0Yxj5Mdflwf5uUcPTUOqjXY857VEcZ7yXrmaJDg/df4AtvborPSL Euxcmy6sbcB4qzl9FK6Y9mkoBpsqOGIyGuXPwf8/2mhgY8/JO5iXwl5bMklFJTE= X-Google-Smtp-Source: AGHT+IFnMHVSBiih/3sZgpAFXUvJl8b4JDQIC1sGK7IOw0ZIUebUnheLQu/ZKBtQd2s/VP+yFXOJbA== X-Received: by 2002:a05:6602:6398:b0:7f3:9dd3:15b2 with SMTP id ca18e2360f4ac-7f66db3caeemr477668639f.0.1720198391430; Fri, 05 Jul 2024 09:53:11 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4bb73fa17cdsm4449380173.119.2024.07.05.09.53.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Jul 2024 09:53:11 -0700 (PDT) Message-ID: <5a3a3c0b-2c72-45bf-91c5-0d5808e3bd14@linuxfoundation.org> Date: Fri, 5 Jul 2024 10:53:10 -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] selftests/timers: remove unused irqcount variable To: John Stultz , John Hubbard Cc: Shuah Khan , Thomas Gleixner , Stephen Boyd , Anna-Maria Behnsen , Frederic Weisbecker , Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev, Shuah Khan References: <20240704024202.84726-1-jhubbard@nvidia.com> Content-Language: en-US From: Shuah Khan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 7/3/24 21:11, John Stultz wrote: > On Wed, Jul 3, 2024 at 7:42 PM John Hubbard wrote: >> >> When building with clang, via: >> >> make LLVM=1 -C tools/testing/selftest >> >> ...clang warns about an unused irqcount variable. clang is correct: the >> variable is incremented and then ignored. >> >> Fix this by deleting the irqcount variable. >> >> Signed-off-by: John Hubbard > > Acked-by: John Stultz Thank you all. Applied to linux_kselftest next for Linux 6.11-rc1. thanks, -- Shuah