xen/drivers: address violations of MISRA C:2012 Rule 8.2

Add missing parameter names. No functional change.

Signed-off-by: Federico Serafini <federico.serafini@bugseng.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Federico Serafini authored and Jan Beulich committed 2023-12-13 10:40:08 +01:00
1 parent 76ecfc517d
commit 75b6bcbd9e
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -341,7 +341,7 @@ struct ehci_dbgp {
struct ehci_caps __iomem *ehci_caps;
};
static int ehci_dbgp_external_startup(struct ehci_dbgp *);
static int ehci_dbgp_external_startup(struct ehci_dbgp *dbgp);
static void ehci_dbgp_status(struct ehci_dbgp *dbgp, const char *str)
{
@@ -997,7 +997,7 @@ err:
return -ENODEV;
}
typedef void (*set_debug_port_t)(struct ehci_dbgp *, unsigned int);
typedef void (*set_debug_port_t)(struct ehci_dbgp *dbgp, unsigned int port);
static void cf_check default_set_debug_port(
struct ehci_dbgp *dbgp, unsigned int port)
+1 -1
View File
@@ -21,7 +21,7 @@ static unsigned char *video;
static void cf_check vga_text_puts(const char *s, size_t nr);
static void cf_check vga_noop_puts(const char *s, size_t nr) {}
void (*video_puts)(const char *, size_t nr) = vga_noop_puts;
void (*video_puts)(const char *s, size_t nr) = vga_noop_puts;
/*
* 'vga=<mode-specifier>[,keep]' where <mode-specifier> is one of:
+1 -1
View File
@@ -13,7 +13,7 @@
#ifdef CONFIG_VIDEO
void video_init(void);
extern void (*video_puts)(const char *, size_t nr);
extern void (*video_puts)(const char *s, size_t nr);
void video_endboot(void);
#else
#define video_init() ((void)0)
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.