mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
parisc: Fix return code of pdc_iodc_print()
commit 5d1335dabb upstream.
There is an off-by-one if the printed string includes a new-line
char.
Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
96d3b44668
commit
d386bc5bf1
1 changed files with 3 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue