linux-stable/arch/s390/include
Harald Freudenberger 07c8050f8c s390/cpacf: Make use of invalid opcode produce a link error
commit 32e8bd6423 upstream.

Instead of calling BUG() at runtime introduce and use a prototype for a
non-existing function to produce a link error during compile when a not
supported opcode is used with the __cpacf_query() or __cpacf_check_opcode()
inline functions.

Suggested-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Reviewed-by: Juergen Christ <jchrist@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>
2024-06-16 13:41:41 +02:00
..
asm s390/cpacf: Make use of invalid opcode produce a link error 2024-06-16 13:41:41 +02:00
uapi/asm s390/dasd: add autoquiesce feature 2024-03-26 18:20:28 -04:00