summaryrefslogtreecommitdiff
path: root/sound/soc/davinci/edma-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/davinci/edma-pcm.c')
0 files changed, 0 insertions, 0 deletions
change a dubious runtime use of ATOMIC_INIT() to atomic_set() in drivers/char/mspec.c Dave Anglin says: > Here is the line in sock.i: > > struct static_key memalloc_socks = ((struct static_key) { .enabled = > ((atomic_t) { (0) }) }); The above line contains two compound literals. It also uses a designated initializer to initialize the field enabled. A compound literal is not a constant expression. The location of the above statement isn't fully clear, but if a compound literal occurs outside the body of a function, the initializer list must consist of constant expressions. Cc: <stable@vger.kernel.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat