search for: smatch_script

Displaying 1 result from an estimated 1 matches for "smatch_script".

Did you mean: smatch_scripts
2010 Jan 30
1
[PATCH] nouveau: move dereferences after null checks
...I wrote a shell script to try remove the false positives caused > by macros. There are still some false positives because smatch is bad at handling > loops and knowing when a container got redefined. > > Sometimes the fixes are not obvious. > > This is the output of: /path/to/smatch_scripts/filter_kernel_deref_check.sh warns.txt > > regards, > dan carpenter > > (...) > drivers/gpu/drm/nouveau/nouveau_object.c +891 'chan': if (!chan || !gpuobj_ret || *gpuobj_ret != NULL) > drivers/gpu/drm/nouveau/nouveau_sgdma.c +61 'nvbe': if (nvbe && nv...