|
From: | zhenwei pi |
Subject: | Re: Re: [PATCH] qga: Introduce disk smart |
Date: | Mon, 7 Mar 2022 14:24:02 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
On 3/4/22 10:51 PM, Keith Busch wrote:
On Fri, Mar 04, 2022 at 04:54:07PM +0800, zhenwei pi wrote:+ smart->u.nvme.temperature = le16_to_cpu(log.temperature);The 'temperature' offset is not properly aligned, so I think you need to use an unaligned le accessor like 'stw_le_p()'.
Thanks, I missed this point, and I sent a v2 patch named '[PATCH v2 RESEND] qga: Introduce disk smart'.
-- zhenwei pi
[Prev in Thread] | Current Thread | [Next in Thread] |