kernel_user_data: don't insert useless data into the DB
commitdba939a246e681e21823009f587a098561904a91
authorDan Carpenter <dan.carpenter@linaro.org>
Thu, 19 Oct 2023 06:45:00 +0000 (19 09:45 +0300)
committerDan Carpenter <dan.carpenter@linaro.org>
Thu, 19 Oct 2023 06:45:00 +0000 (19 09:45 +0300)
treec90de4d4507c046ea8019714c47bedfb36ac1edc
parent3f59e237558eb10308c99ea25cfa1738d5f5915b
kernel_user_data: don't insert useless data into the DB

The estate_assigned() stuff was supposed to limit the data being printed
but it ended up printing stuff that wasn't allowed before.  So in this
case we have:

struct something *p = argument;

The p->foo is "assigned" but the param was not actually set.  We both
tests.

So far as I can see this doesn't cause any problems, but it does add
confusing data to the DB and it does waste resources.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
smatch_kernel_user_data.c