lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <mlvbcfwldtsivl5ioko64velaz2npixwaf4qukrji36alatqcl@bxv4fmrv2qyh>
Date: Wed, 19 Nov 2025 11:06:41 +0200
From: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
To: Alexander Wilhelm <alexander.wilhelm@...termo.com>
Cc: Bjorn Andersson <andersson@...nel.org>,
        Konrad Dybcio <konradybcio@...nel.org>, linux-arm-msm@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 RESEND 3/3] soc: qcom: preserve CPU endianness for
 QMI_DATA_LEN

On Tue, Nov 18, 2025 at 07:53:41AM +0100, Alexander Wilhelm wrote:
> To ensure correct handling of endianness in the QMI subsystem, the
> QMI_DATA_LEN field used in host-side drivers remains in CPU-native byte
> order. Remove unnecessary endianness conversions, considering that
> QMI_DATA_LEN is always of type `u32` on the host. On the QMI wire
> interface, however, its representation is variable and may use either 1 or
> 2 bytes.
> 
> Signed-off-by: Alexander Wilhelm <alexander.wilhelm@...termo.com>
> ---
>  drivers/soc/qcom/qmi_encdec.c | 11 ++++-------
>  1 file changed, 4 insertions(+), 7 deletions(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>


-- 
With best wishes
Dmitry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ