diff options
author | Jaroslav Kysela <[email protected]> | 2021-04-14 12:58:58 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2021-04-14 14:23:05 +0200 |
commit | 543f8d780867bdbd8b0792487fa1644d89faa19c (patch) | |
tree | be619c0fe3ce0628e469eb5a3e3d33b971467b3e /drivers/fpga/fpga-mgr.c | |
parent | d2e8f641257d0d3af6e45d6ac2d6f9d56b8ea964 (diff) |
ALSA: control_led - fix the stack usage (control element ops)
It's a bad idea to allocate big structures on the stack.
Mark the variables as static and add a note for the locking.
Fixes: 22d8de62f11b ("ALSA: control - add generic LED trigger module as the new control layer")
Cc: Nathan Chancellor <[email protected]>
Cc: Takashi Sakamoto <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions