On Thu, Apr 6, 2017 at 12:07 PM, Anton Lindqvist <[email protected]> wrote: > Instead of passing sizeof(struct aml_value)*4 as the len argument to > memset when writing zeros to osc_cmd, pass sizeof(osc_cmd) since osc_cmd > already is declared as 'struct aml_value osc_cmd[4]'.
Committed. Thanks! Philip Guenther
