watchdog: diag288_wdt: fix __diag288() inline assembly
stable inclusion from stable-v5.10.168 commit 192fd121d04f79ce9ac7d53dd44189f010133d0f 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=192fd121d04f79ce9ac7d53dd44189f010133d0f ---------------------------------------------------- commit 32e40f95 upstream. The DIAG 288 statement consumes an EBCDIC string the address of which is passed in a register. Use a "memory" clobber to tell the compiler that memory is accessed within the inline assembly. Signed-off-by:Alexander Egorenkov <egorenar@linux.ibm.com> Reviewed-by:
Heiko Carstens <hca@linux.ibm.com> Cc: <stable@vger.kernel.org> Signed-off-by:
Heiko Carstens <hca@linux.ibm.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
zhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
Loading
Please sign in to comment