[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4c8bd175b3749631ebd3ab1b70693b3f7e748c69.camel@xry111.site>
Date: Thu, 20 Apr 2023 12:28:43 +0800
From: Xi Ruoyao <xry111@...111.site>
To: Qing Zhang <zhangqing@...ngson.cn>,
WANG Xuerui <kernel@...0n.name>,
Huacai Chen <chenhuacai@...nel.org>
Cc: Jiaxun Yang <jiaxun.yang@...goat.com>, loongarch@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] LoongArch: Add pad structure members for explicit
alignment
On Thu, 2023-04-20 at 12:24 +0800, Xi Ruoyao wrote:
> undefined behavior. `printf(PRIu16 "\n", ptr->dbg_info);` is an
> undefined behavior if ptr->dbg_info is a int16_t, because the standard
^^^^^^^ uint64_t
:(
--
Xi Ruoyao <xry111@...111.site>
School of Aerospace Science and Technology, Xidian University
Powered by blists - more mailing lists