Re: [PATCH v5 06/14] software node: get rid of property_set_pointer()

2019-10-15 Thread Dmitry Torokhov
On Tue, Oct 15, 2019 at 03:09:49PM +0300, Andy Shevchenko wrote: > On Fri, Oct 11, 2019 at 04:07:13PM -0700, Dmitry Torokhov wrote: > > Instead of explicitly setting values of integer types when copying > > property entries lets just copy entire value union when processing > > non-array values. >

Re: [PATCH v5 06/14] software node: get rid of property_set_pointer()

2019-10-15 Thread Andy Shevchenko
On Fri, Oct 11, 2019 at 04:07:13PM -0700, Dmitry Torokhov wrote: > Instead of explicitly setting values of integer types when copying > property entries lets just copy entire value union when processing > non-array values. > > For value arrays we no longer use union of pointers, but rather a

[PATCH v5 06/14] software node: get rid of property_set_pointer()

2019-10-11 Thread Dmitry Torokhov
Instead of explicitly setting values of integer types when copying property entries lets just copy entire value union when processing non-array values. For value arrays we no longer use union of pointers, but rather a single void pointer, which allows us to remove property_set_pointer(). In