watchdog: diag288_wdt: fix __diag288() inline assembly
authorAlexander Egorenkov <egorenar@linux.ibm.com>
Fri, 27 Jan 2023 13:52:42 +0000 (14:52 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 30 Jan 2023 13:40:50 +0000 (14:40 +0100)
commit32e40f9506b9e32917eb73154f93037b443124d1
treea139024827e58c779fa0ecb0fc55d1f490f715eb
parentfe8973a3ad0905cb9ba2d42db42ed51de14737df
watchdog: diag288_wdt: fix __diag288() inline assembly

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>
drivers/watchdog/diag288_wdt.c