Re: [PATCH 5/7] mfd / platform: cros_ec: move device sysfs attributes to its own driver.

From: Dan Carpenter
Date: Thu Nov 29 2018 - 09:56:39 EST


On Thu, Nov 29, 2018 at 03:43:14PM +0100, Enric Balletbo i Serra wrote:
> I had this question on my mind for some time but I didn't look for an answer, in
> fact, I'm not sure if I already asked you this before, sorry about that if I
> did, the question is. There is a easy way to run your smatch scripts locally to
> check the patch before I send to the ML?

Yeah. Happy to help. Run ~/smatch/smatch_scripts/kchecker path/to/module.c

It's slightly more limited because it doesn't have the cross function
DB. Building the DB is easy, but takes four or five hours these days...
~/smatch/smatch_scripts/build_kernel_data.sh

regards,
dan carpenter