Home
last modified time | relevance | path

Searched refs:new_prop (Results 1 – 1 of 1) sorted by relevance

/arch/powerpc/platforms/pseries/
Dmobility.c71 struct property *new_prop = *prop; in update_dt_property() local
85 if (new_prop) { in update_dt_property()
87 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property()
91 memcpy(new_data, new_prop->value, new_prop->length); in update_dt_property()
92 memcpy(new_data + new_prop->length, value, vd); in update_dt_property()
94 kfree(new_prop->value); in update_dt_property()
95 new_prop->value = new_data; in update_dt_property()
96 new_prop->length += vd; in update_dt_property()
98 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in update_dt_property()
99 if (!new_prop) in update_dt_property()
[all …]