UPSTREAM: ASoC: tas2781: make const read-only array magic_number static
Don't populate the const read-only array magic_number on the stack, instead make it static const. BUG=b:357753807 TEST=emerge-rauru sys-kernel/chromeos-kernel-6_6 Change-Id: I2c1081c6f72511c2a4f3c0884b94114d441628f1 Signed-off-by:Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20231017170436.176615-1-colin.i.king@gmail.com Signed-off-by:
Mark Brown <broonie@kernel.org> (cherry picked from commit 9a4bf1f0) Signed-off-by:
stefano.chu <stefano.chu@lcfc.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/6173861 Reviewed-by:
Fei Shao <fshao@chromium.org> Tested-by:
Fei Shao <fshao@chromium.org> Commit-Queue: Fei Shao <fshao@chromium.org> Reviewed-by:
Yu-Che Cheng <giver@chromium.org> Reviewed-by:
Sean Paul <sean@poorly.run> Signed-off-by:
Hubert Mazur <hmazur@google.com>
Loading
Please sign in to comment