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 C8EB12FE566; Thu, 29 Jan 2026 01:17: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=1769649444; cv=none; b=QA2yiYEecxOe+VzcYkkh8T4hV1985jmHcNKLO0vpxieK9+M7N7TDw1WTZYXCb9oZrxWVNfmX2ZXyMe0y7vUkK9HeTtOCWODZiAewHzlPI0fioQX50MSrr8zJbVWFP2vYvzSa5wKyEUAOKdTk6aQV+qpJzQHGRsgzQ2PsHNuey2Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769649444; c=relaxed/simple; bh=D/IkbJyJ8dzJu/m0Oq7rZy5LRS0CebRGYUjs9pw88Bw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=f3FLqWaDKdhi9/WCcMH5Mn5UnTJ8oEtXcmbOi+otEcsU+kMW0igw+1ipZSgjkF7rHQZlIiLTQRCohBjuaJHl4OyybR7yHZAmSCo6Y0leg2PVIwpaGyNIhL4yc01rcZUZehnZVd7meieIDy7zuuBP2e4UrL6He+5hTxDIvz7p8MM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Kk/2bljf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Kk/2bljf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 859BFC4CEF1; Thu, 29 Jan 2026 01:17:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769649444; bh=D/IkbJyJ8dzJu/m0Oq7rZy5LRS0CebRGYUjs9pw88Bw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kk/2bljfOvlt7Y6FCsrn/g954SLnE/Ew8TaKyl1w6/LHYR4QVD87qS6AoWyA5rpMO TUNxnCCsxqsojp2iYZoeOLETqI6XZpAJ1GfnYseXnNRtoYmScwyXbl28Bj0hirz1kw MdqqwYNcnNfADeTj7vzT3DNJn44iW+rR6dynp1qsYGWYminC3edT88XNu7Rf7JEzwe JaqLPhm1SM8m00w2IRqO3WJTRQ7ULQXHxv9SwVe9764FJ/T8DYia+HHQ2zpGERxzoa zpAGp0SKDd7jMnVcDbKc2CEcea8uXzGMoTvjvgK2Q6bCD4QMhvHtTXP57iOm43Low+ uOl1KvShFOSFA== Date: Wed, 28 Jan 2026 20:17:18 -0500 From: Guo Ren To: Han Gao Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Han Gao , stable@vger.kernel.org Subject: Re: [PATCH] riscv: compat: fix COMPAT_UTS_MACHINE definition Message-ID: References: <20260127190711.2264664-1-gaohan@iscas.ac.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260127190711.2264664-1-gaohan@iscas.ac.cn> On Wed, Jan 28, 2026 at 03:07:11AM +0800, Han Gao wrote: > The COMPAT_UTS_MACHINE for riscv was incorrectly defined as "riscv". > Change it to "riscv32" to reflect the correct 32-bit compat name. > > Fixes: 06d0e3723647 ("riscv: compat: Add basic compat data type implementation") > Cc: stable@vger.kernel.org > > Signed-off-by: Han Gao > --- > arch/riscv/include/asm/compat.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/riscv/include/asm/compat.h b/arch/riscv/include/asm/compat.h > index 6081327e55f5..28e115eed218 100644 > --- a/arch/riscv/include/asm/compat.h > +++ b/arch/riscv/include/asm/compat.h > @@ -2,7 +2,7 @@ > #ifndef __ASM_COMPAT_H > #define __ASM_COMPAT_H > > -#define COMPAT_UTS_MACHINE "riscv\0\0" > +#define COMPAT_UTS_MACHINE "riscv32\0\0" Good catch, my typo. The UTS_MACHINE is riscv32 in Makefile. Thx for fixup. Reviewed-by: Guo Ren (Alibaba Damo Academy) > > /* > * Architecture specific compatibility types > -- > 2.47.3 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv >