瀏覽代碼

xen/xenbus: Fix compile warning.

We were missing the 'void' on the parameter arguments.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Konrad Rzeszutek Wilk 13 年之前
父節點
當前提交
e9d1aa05da
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/xen/xenbus/xenbus_xs.c

+ 1 - 1
drivers/xen/xenbus/xenbus_xs.c

@@ -625,7 +625,7 @@ static struct xenbus_watch *find_watch(const char *token)
  * so if we are running on anything older than 4 do not attempt to read
  * control/platform-feature-xs_reset_watches.
  */
-static bool xen_strict_xenbus_quirk()
+static bool xen_strict_xenbus_quirk(void)
 {
 	uint32_t eax, ebx, ecx, edx, base;