Static code analyzer annotations in driver code?

Thomas Hellstrom thellstrom at vmware.com
Wed Jan 4 13:06:14 UTC 2017


Hi!

What is the general opinion about out-of-tree static analyzer
annotations in drm driver code, for example comments like

/* coverity[missing_lock] */

which typically squelches false positives in constructors or destructors
of refcounted structs that contain members that are elsewhere protected
by locks.

Thanks,

Thomas





More information about the dri-devel mailing list