Thread (27 messages) 27 messages, 3 authors, 2015-07-23

Re: [PATCH v8 2/9] nvmem: Add a simple NVMEM framework for consumers

From: Srinivas Kandagatla <hidden>
Date: 2015-07-22 07:26:46
Also in: linux-arm-kernel, linux-arm-msm, linux-devicetree, lkml

Thanks Stefan,

On 21/07/15 17:25, Stefan Wahren wrote:
quoted
+
quoted
+ addr = of_get_property(cell_np, "reg", &len);
+ if (!addr || (len < 2 * sizeof(int))) {
I'm not sure, but shouldn't be sizeof(u32) more portable?
yes it makes sense, I will change it.
quoted
quoted
[...]
+
+ addr = of_get_property(cell_np, "bits", &len);
+ if (addr && len == (2 * sizeof(int))) {
dito
yep.

--srini
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help