]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drivers/xen/xenbus: Replace deprecated strcpy in xenbus_transaction_end
authorThorsten Blum <thorsten.blum@linux.dev>
Fri, 31 Oct 2025 11:21:31 +0000 (12:21 +0100)
committerJuergen Gross <jgross@suse.com>
Mon, 17 Nov 2025 07:48:40 +0000 (08:48 +0100)
commita73d4a055622d0973e371382b16a13f9795ffec7
tree34b3f94b2421b89f9d076c0c05c7212071e68004
parent6fec913ff1c9811e35e1bb64779efce9bb41b7ec
drivers/xen/xenbus: Replace deprecated strcpy in xenbus_transaction_end

strcpy() is deprecated; inline the read-only string instead. Fix the
function comment and use bool instead of int while we're at it.

Link: https://github.com/KSPP/linux/issues/88
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20251031112145.103257-2-thorsten.blum@linux.dev>
drivers/xen/xenbus/xenbus_xs.c
include/xen/xenbus.h