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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140402195023.GL14763@sirena.org.uk>
Date:	Wed, 2 Apr 2014 20:50:23 +0100
From:	Mark Brown <broonie@...nel.org>
To:	Xiubo Li <Li.Xiubo@...escale.com>
Cc:	linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCHv2 3/3] regmap: add DT endianness binding support.

On Wed, Apr 02, 2014 at 06:09:09PM +0800, Xiubo Li wrote:

> +	ret = of_regmap_get_endian(dev, bus, config, "reg_endian", &reg_endian);
> +	if (ret)
> +		return ERR_PTR(ret);
> +
> +	ret = of_regmap_get_endian(dev, bus, config, "val_endian", &val_endian);
> +	if (ret)
> +		return ERR_PTR(ret);

Actually, if we're going to be doing this for all devices then we
probably need to namespace the properties too.  Not sure what to do for
a prefix though.  One for the DT folks.

Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ