parisc: Fix return code of pdc_iodc_print()
stable inclusion from stable-v5.10.168 commit 2982b473d764b4d02a40c84246a2d576d411427d category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7URR4 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2982b473d764b4d02a40c84246a2d576d411427d ---------------------------------------------------- commit 5d1335da 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> Signed-off-by:
zhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
Loading
Please sign in to comment