[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190613101004.GB5242@leoy-ThinkPad-X240s>
Date: Thu, 13 Jun 2019 18:10:04 +0800
From: Leo Yan <leo.yan@...aro.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Mathieu Poirier <mathieu.poirier@...aro.org>,
Suzuki K Poulose <suzuki.poulose@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] coresight: potential uninitialized variable in probe()
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
Powered by blists - more mailing lists