Android 13.0.0 release 0.15
dw3000: fix memset warning

The below warning happens when we build with LTO=none. Fix this by
dropping the memset and init the local variable on declaration.

common/include/linux/fortify-string.h:242:4: error: call to
__write_overflow_field declared with 'warning' attribute: detected write
beyond size of field (1st parameter); maybe use struct_group()?
[-Werror,-Wattribute-warning]
                        __write_overflow_field(p_size_field, size);
                        ^
1 error generated.

Bug: 231318697
Signed-off-by: Will McVicker <willmcvicker@google.com>
Change-Id: I1b118229904c1a9327a0b4b8744a039317514512
1 file changed
tree: 7bc57c0e723876041da592c7d851f1827e629478
  1. kernel/
  2. mac/
  3. tools/
  4. .gitlab-ci.yml
  5. COPYING