diff options
author | Helge Deller <deller@gmx.de> | 2022-11-26 23:29:31 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-12-19 00:18:49 +0300 |
commit | 7236aae5f81f3efbd93d0601e74fc05994bc2580 (patch) | |
tree | b4e888ee45eb64822698dc212f21810bdc07c89f /arch/parisc/kernel/perf.c | |
parent | fe94cb1a614d2df2764d49ac959d8b7e4cb98e15 (diff) | |
download | linux-7236aae5f81f3efbd93d0601e74fc05994bc2580.tar.xz |
parisc: Fix locking in pdc_iodc_print() firmware call
Utilize pdc_lock spinlock to protect parallel modifications of the
iodc_dbuf[] buffer, check length to prevent buffer overflow of
iodc_dbuf[], drop the iodc_retbuf[] buffer and fix some wrong
indentings.
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # 6.0+
Diffstat (limited to 'arch/parisc/kernel/perf.c')
0 files changed, 0 insertions, 0 deletions