Re: [PATCH] coresight: potential uninitialized variable in probe()

From: Leo Yan
Date: Thu Jun 13 2019 - 11:43:00 EST


On Thu, Jun 13, 2019 at 05:56:37PM +0800, Leo Yan wrote:

[...]

> > In my experience it's better to initialize the return as late as
> > possible so that you get static checker warnings when you forget to set
> > the error code.
>
> Just want to check one thing, which static checker you are using?

Okay, I think it's smatch :)

Thanks,
Leo Yan