Re: [PATCH] staging: greybus: power_supply: fix prop-descriptor request size

2019-04-04 Thread Rui Miguel Silva
Hi Johan, Thanks for the patch. On Thu 04 Apr 2019 at 07:53, Johan Hovold wrote: Since moving the message buffers off the stack, the dynamically allocated get-prop-descriptor request buffer is incorrectly sized due to using the pointer rather than request-struct size when creating the

[PATCH] staging: greybus: power_supply: fix prop-descriptor request size

2019-04-04 Thread Johan Hovold
Since moving the message buffers off the stack, the dynamically allocated get-prop-descriptor request buffer is incorrectly sized due to using the pointer rather than request-struct size when creating the operation. Fortunately, the pointer size is always larger than this one-byte request, but