Re: [PATCH] tty: Fix potentialy used uninitialized variable

From: Richard Weinberger
Date: Sat Aug 08 2015 - 05:37:36 EST

On Sat, Aug 8, 2015 at 11:24 AM, Tomer Barletz <barletz@xxxxxxxxx> wrote:
> Initialize size to 0, as it may be used uninitialized in case
> read_mem32() fails.

Instead of papering over the issue better cleanup read_mem32() such that
a failure can be detected. :-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at