mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
76ecfc517d
commit
75b6bcbd9e
3 files changed
+4
-4
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||