diff options
| author | Hans de Goede <[email protected]> | 2020-07-09 14:08:57 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-07-10 13:45:32 +0200 |
| commit | 5bc117a27fd044bd5ddeb8ab22c58976bf01b50d (patch) | |
| tree | 1ed863949b3202b54e6cf4d59a0e36762a3d1a73 /include/linux | |
| parent | 316b0035402f05fe9e9e5334d1ff65dae285cb7c (diff) | |
virt: vbox: Log unknown ioctl requests as error
Every now and then upstream adds new ioctls without notifying us,
log unknown ioctl requests as an error to catch these.
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/vbox_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/vbox_utils.h b/include/linux/vbox_utils.h index ff56c443180c..db8a7d118093 100644 --- a/include/linux/vbox_utils.h +++ b/include/linux/vbox_utils.h @@ -16,6 +16,7 @@ struct vbg_dev; __printf(1, 2) void vbg_info(const char *fmt, ...); __printf(1, 2) void vbg_warn(const char *fmt, ...); __printf(1, 2) void vbg_err(const char *fmt, ...); +__printf(1, 2) void vbg_err_ratelimited(const char *fmt, ...); /* Only use backdoor logging for non-dynamic debug builds */ #if defined(DEBUG) && !defined(CONFIG_DYNAMIC_DEBUG) |