Static code analyzer annotations in driver code?

2017-01-05 Thread Jani Nikula
On Wed, 04 Jan 2017, Thomas Hellstrom wrote: > 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 destructo

Static code analyzer annotations in driver code?

2017-01-05 Thread Thomas Hellstrom
Hi, On 01/05/2017 12:38 PM, Jani Nikula wrote: > On Wed, 04 Jan 2017, Thomas Hellstrom wrote: >> What is the general opinion about out-of-tree static analyzer >> annotations in drm driver code, for example comments like >> >> /* coverity[missing_lock] */ >> &

Static code analyzer annotations in driver code?

2017-01-04 Thread Thomas Hellstrom
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