Re: [PATCH] staging: greybus: bootrom: fix uninitialized variables

From: Dan Carpenter
Date: Mon Jan 27 2020 - 03:10:15 EST


On Sat, Jan 25, 2020 at 02:14:03PM +0530, Saurav Girepunje wrote:
> fix uninitialized variables issue found using static code analysis tool
>
> (error) Uninitialized variable: offset
> (error) Uninitialized variable: size
>

These are false positives as Johan said. Don't change the code just to
make the static analysis tool happy, fix the tools instead.

Also the patch doesn't apply. Read the first paragraph of
Documentation/process/email-clients.rst and figure out why it's not
working.

regards,
dan carpenter