Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp699183lqp; Wed, 12 Jun 2024 13:32:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdw87IPQ5ArlEz6VTRhmmWSbVR9/eBakZbh17iZmXr93sO2kODnSUig3C3RlwotaV64LOJHQXZBry+/wAK+bwczZapsF4qg8xeEki+QA== X-Google-Smtp-Source: AGHT+IGuSko9ruD+dixxeVYGtqntYyPEvSwUCwdAhLSuuxD8MCFacmoo/d5LhEHolho68EK2RQdd X-Received: by 2002:a17:903:1c4:b0:1f7:178d:6990 with SMTP id d9443c01a7336-1f83b5eb0fdmr37513105ad.22.1718224360592; Wed, 12 Jun 2024 13:32:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718224360; cv=pass; d=google.com; s=arc-20160816; b=HS8oa8c1yocVkAVnLGAF4EI+dKbG2zvMDdWre5iM7Z9+INN2S+f5S2Joks0iDjWzV5 rK2QA0vxiwNdhWrEXr9ng1B3eZG+df1JyCBgG6kgnHfyf6wkd/eEZEXWPLDEmm+nB3zI j5h+s1MCn75qwRO3oOs+LFjRNUj1/xDrrti0PUhIOclNqVvoVvMtYyUAVSTzQ9L5H5sR lFrEW6zRoLrmhbkpBeqjKNchfpX7PrNItIdnSzjvQ1NJk7rMRaC+siwSlqOvNrq3nmii bWVHqvd7ESjjaeI50ZuV6ENKM8kavDDnTmV/mONfaEGVHEtdV/LXZv6a96Tb/aKsD6cD 9vJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=nW2yfzAq7hujWLwBAiewiWaNuh+lQE+TLxNe8o9eSEY=; fh=/qiuJQnYchjkPJtMJQy5Yki69fujFtwM3VIGb0yv5D8=; b=kw1hVM5poRQSfjDOGCTdjjyhaAsLztXKUjpw47IWHpWCeHv16LN/56SsVKU091wxg1 DBKVBrqPmOT402O2JSQQjYL9heyEacXcVzyaXyFdBSE7mKI5ir3E4xkGZUqs7WcgiF/V X73MYSXF3RYbwogzdfHaz3m2Qazri8XzBYOc2AOMhQrrsCLHjofUG6XE3NvWW8X0X7a/ m6FrREQySdh9jw5+dQCL5FKki7yy5Ioa1/5NtbyKWM9N7KVNAFNd8/Te4bj1oMTrmSjy O3viXzMdKw/EEYiJ4BlENF1L25xATOR/U/FmR3VT7SNwYKKwljQWTyVdPATfvvPMmSuQ khZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=FS8dVrjC; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-212210-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212210-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f83e17ccd6si18912245ad.341.2024.06.12.13.32.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 13:32:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212210-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=FS8dVrjC; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-212210-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212210-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 29BE428773A for ; Wed, 12 Jun 2024 20:24:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F53284DFE; Wed, 12 Jun 2024 20:24:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="FS8dVrjC"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="w41sGYvB" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 58E8884A3F; Wed, 12 Jun 2024 20:24:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718223866; cv=none; b=L/Aru0U+JJApeJdIBSYtmfb2lrIroElL/s2ym862fAbtHEAGlDyQ6R/819901irQWoclhq0u4p4ZANNiTC9gXzLYB7IG07jpbC4lerjCCj9KlPnry7JHU8Rs9MGdou6zlsZNhevasXrLNuWvYJDF0DhoK4WZYJMkPysqZZGvV9o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718223866; c=relaxed/simple; bh=f3YVlAbG/gr0/3IicxHUxaBgsAbpua9uiVBKwnQJtE8=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=MHSOabGZ3veRbx4m/E+QCRW0uGrvczB3EmimBhR8jS92E6HTn2I1229KiH2iCJf+zyme2BsHAwWwayBBdr0JyMxCwTpWjIpOGG4ks2kidEwXmRswugFfsuN48soxptr64nsoFAOBgSWHgThZ4K4o+TvmOKBdrq8OVqEKnV+VLmo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=FS8dVrjC; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=w41sGYvB; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Wed, 12 Jun 2024 20:24:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1718223863; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nW2yfzAq7hujWLwBAiewiWaNuh+lQE+TLxNe8o9eSEY=; b=FS8dVrjCE00vWI8G5btLG5cbvM1wQ7Sd1nnS/6JZXoxY/mY+/SgBKFH0f3lcj2+5iXA/gx inK8D0IRJVYL+8Xn4Bz5JrO+9h6pTpZY7cy/qydtKFcG6PBjGOBeJeh471XiHDYm6p9TH4 11NHwEfgWo2mwIdlt8Fcyejv6uZGt//DbfOvwWhJby+CbHBOl0VXcuGpGszeXODNTzSM83 9g3btpOYphvkPIP2mOYyLdAq3U2elpbaqwaAs4rk5/GTWE51I1x3RXo9kdEogiaLWLLgwV IK+GiKaparrY+xhrnCroXgYlSS2NFVyb5yhTD7mjAOKk1Yt+J66Xd2CqVGH4/Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1718223863; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nW2yfzAq7hujWLwBAiewiWaNuh+lQE+TLxNe8o9eSEY=; b=w41sGYvB5unwZ7RHzHa2cpudXUIdKsIMG/nBe4D3jEpXXmq6SPzhpdtwWEPOC7ewjwgIq/ jwox4miv5/qB/DCw== From: "tip-bot2 for Yazen Ghannam" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/misc] hwmon: (k10temp) Remove unused HAVE_TDIE() macro Cc: Yazen Ghannam , "Borislav Petkov (AMD)" , Guenter Roeck , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240606-fix-smn-bad-read-v4-7-ffde21931c3f@amd.com> References: <20240606-fix-smn-bad-read-v4-7-ffde21931c3f@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171822386330.10875.16252992043193047565.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/misc branch of tip: Commit-ID: 0e097f2b5928651de3b4f0100401c9e71fa73dba Gitweb: https://git.kernel.org/tip/0e097f2b5928651de3b4f0100401c9e71fa73dba Author: Yazen Ghannam AuthorDate: Thu, 06 Jun 2024 11:13:00 -05:00 Committer: Borislav Petkov (AMD) CommitterDate: Wed, 12 Jun 2024 11:40:17 +02:00 hwmon: (k10temp) Remove unused HAVE_TDIE() macro ...to address the following warning: drivers/hwmon/k10temp.c:104:9: warning: macro is not used [-Wunused-macros] No functional change is intended. Signed-off-by: Yazen Ghannam Signed-off-by: Borislav Petkov (AMD) Acked-by: Guenter Roeck Link: https://lore.kernel.org/r/20240606-fix-smn-bad-read-v4-7-ffde21931c3f@amd.com --- drivers/hwmon/k10temp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index 6deb272..a2d2033 100644 --- a/drivers/hwmon/k10temp.c +++ b/drivers/hwmon/k10temp.c @@ -101,7 +101,6 @@ struct k10temp_data { #define TCCD_BIT(x) ((x) + 2) #define HAVE_TEMP(d, channel) ((d)->show_temp & BIT(channel)) -#define HAVE_TDIE(d) HAVE_TEMP(d, TDIE_BIT) struct tctl_offset { u8 model;