extra: handle returned struct members
commit025e1875839f9b86671ab7297cdb414531a76325
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Jan 2016 11:17:55 +0000 (15 14:17 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Jan 2016 11:17:55 +0000 (15 14:17 +0300)
tree73cbcbc8b307008fb40edcf914fd6954cd27c0fb
parent55db79d2fdcd913f5115113517dd4a3eda3dfaa3
extra: handle returned struct members

This is sort of astonishing that this omission has lasted this long.  When
you do:

foo->bar = 12;
return foo;

The value of ->bar is not returned to the caller.  The other really
astonishing thing is that adding this code doesn't turn up any new kernel
bugs...  Very strange.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_extra.c