lkml.org 
[lkml]   [2015]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ASoC: codecs: use SNDRV_PCM_FMTBIT_* for format bitmask
On Tue, May 26, 2015 at 07:29:57AM +0200, Takashi Iwai wrote:
> Maciej S. Szmigiero wrote:

> > Found out by sparse on 0-day kernel tester.

> Wow, that made me wonder how these drivers could actually work.

AFAICT the bits were being set by being ored in from the sequential
values.

> BTW, how did you detect it? Any static analyzer like sparse or
> smatch? sparse didn't detect it at the last time I tried, IIRC...

Commit log says sparse.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-05-26 15:21    [W:0.081 / U:1.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site