drivers/char: Fix build when CET-IBT is enabled

https://gitlab.com/xen-project/xen/-/jobs/3083068950#L1763

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Fixes: 022e40edd4 ("drivers/char: allow using both dbgp=xhci and dbgp=ehci")
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Andrew Cooper committed 2022-09-27 13:32:35 +01:00
1 parent bd68a5f397
commit 5e936d11b1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1465,7 +1465,7 @@ static struct ehci_dbgp ehci_dbgp = { .state = dbgp_unsafe, .phys_port = 1 };
static char __initdata opt_dbgp[30];
static int __init parse_ehci_dbgp(const char *opt)
static int __init cf_check parse_ehci_dbgp(const char *opt)
{
if ( strncmp(opt, "ehci", 4) )
return 0;
+1 -1
View File
@@ -1282,7 +1282,7 @@ struct dbc_dma_bufs {
static struct dbc_dma_bufs __section(".bss.page_aligned") __aligned(PAGE_SIZE)
dbc_dma_bufs;
static int __init xhci_parse_dbgp(const char *opt_dbgp)
static int __init cf_check xhci_parse_dbgp(const char *opt_dbgp)
{
struct dbc_uart *uart = &dbc_uart;
struct dbc *dbc = &uart->dbc;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.