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: <20171103.141525.401018454583463624.davem@davemloft.net>
Date:   Fri, 03 Nov 2017 14:15:25 +0900 (KST)
From:   David Miller <davem@...emloft.net>
To:     vbhadram@...dia.com
Cc:     netdev@...r.kernel.org, peppe.cavallaro@...com,
        clabbe.montjoie@...il.com, Joao.Pinto@...opsys.com
Subject: Re: [PATCH] stmmac: use of_property_read_u32 instead of read_u8

From: Bhadram Varka <vbhadram@...dia.com>
Date: Thu, 2 Nov 2017 12:52:13 +0530

> Numbers in DT are stored in “cells” which are 32-bits
> in size. of_property_read_u8 does not work properly
> because of endianness problem.
> 
> This causes it to always return 0 with little-endian
> architectures.
> 
> Fix it by using of_property_read_u32() OF API.
> 
> Signed-off-by: Bhadram Varka <vbhadram@...dia.com>

Applied, thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ