From mboxrd@z Thu Jan 1 00:00:00 1970 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 4C8561EC01D; Wed, 6 Nov 2024 12:45:56 +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=1730897156; cv=none; b=PlF5fPjva6EdIIu+hZc3VcrVbKhFFgD7An3qCQjfctrEERCqinYtvfpJNHrVqh+Btou6bpMqkwEI9Kf63cDj54w/7BmAf/lsTiG9PxDY0B9GYQaDtyHBU8kJnFh7ew88EjxaUkWqjQXjTCHRlumHAGh+5bxkp5LqRu1Vrlt//CU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730897156; c=relaxed/simple; bh=BleMKODxLlZ3aM14fcPK3y8Z6RpiDxZNw2UttvROD7w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HjHgD6AqPhcUkt5ITdUrV46IqBJNEVeojWNNe5I5Z1Gcrgqiy3XLL5FLwBsSj30O28ZlLgK7m6CX4Q4SGtPWnYBIgLCsYd3u6tV+JBr7UWQoR990URTGZfZBIRf9cNyYuMvpP4Bt/CyUSYrAY9M1cHEhcgI+VBIXoEvalMqbViw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pkP/GxEN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="pkP/GxEN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C03C4C4CECD; Wed, 6 Nov 2024 12:45:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1730897156; bh=BleMKODxLlZ3aM14fcPK3y8Z6RpiDxZNw2UttvROD7w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pkP/GxENUUtX/K3LoHVi81FpzEbSYvi1ZNyG8N+RFGsBS5vUHa+NBTUZftiWKlYHa HpC9gPJY5ZgyDHV2xcaiq02vWfKczgdV2wvcLZENw5l5SZWj0Xa41Xycnvbyr3fnQX ROotoxnZoyDsaLFYfzJojPGFncgWUeaYfaISZXgg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Alexandre Ghiti , Chunyan Zhang , Palmer Dabbelt , Sasha Levin Subject: [PATCH 6.1 086/126] riscv: Remove unused GENERATING_ASM_OFFSETS Date: Wed, 6 Nov 2024 13:04:47 +0100 Message-ID: <20241106120308.397696459@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241106120306.038154857@linuxfoundation.org> References: <20241106120306.038154857@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Chunyan Zhang [ Upstream commit 46d4e5ac6f2f801f97bcd0ec82365969197dc9b1 ] The macro is not used in the current version of kernel, it looks like can be removed to avoid a build warning: ../arch/riscv/kernel/asm-offsets.c: At top level: ../arch/riscv/kernel/asm-offsets.c:7: warning: macro "GENERATING_ASM_OFFSETS" is not used [-Wunused-macros] 7 | #define GENERATING_ASM_OFFSETS Fixes: 9639a44394b9 ("RISC-V: Provide a cleaner raw_smp_processor_id()") Cc: stable@vger.kernel.org Reviewed-by: Alexandre Ghiti Tested-by: Alexandre Ghiti Signed-off-by: Chunyan Zhang Link: https://lore.kernel.org/r/20241008094141.549248-2-zhangchunyan@iscas.ac.cn Signed-off-by: Palmer Dabbelt Signed-off-by: Sasha Levin --- arch/riscv/kernel/asm-offsets.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/riscv/kernel/asm-offsets.c b/arch/riscv/kernel/asm-offsets.c index df9444397908d..1ecafbcee9a0a 100644 --- a/arch/riscv/kernel/asm-offsets.c +++ b/arch/riscv/kernel/asm-offsets.c @@ -4,8 +4,6 @@ * Copyright (C) 2017 SiFive */ -#define GENERATING_ASM_OFFSETS - #include #include #include -- 2.43.0