Drivers: hv: utils: unify driver registration reporting

Unify driver registration reporting and move it to debug level as normally daemons write to syslog themselves
and these kernel messages are useless.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Tested-by: Alex Ng <alexng@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Vitaly Kuznetsov 2015-04-11 18:07:59 -07:00 коммит произвёл Greg Kroah-Hartman
Родитель a4d1ee5b02
Коммит 7c95912758
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -107,8 +107,7 @@ static int fcopy_handle_handshake(u32 version)
*/ */
return -EINVAL; return -EINVAL;
} }
pr_info("FCP: user-mode registering done. Daemon version: %d\n", pr_debug("FCP: userspace daemon ver. %d registered\n", version);
version);
fcopy_transaction.state = HVUTIL_READY; fcopy_transaction.state = HVUTIL_READY;
hv_poll_channel(fcopy_transaction.fcopy_context, hv_poll_channel(fcopy_transaction.fcopy_context,
hv_fcopy_onchannelcallback); hv_fcopy_onchannelcallback);

Просмотреть файл

@ -150,7 +150,8 @@ static int kvp_handle_handshake(struct hv_kvp_msg *msg)
/* /*
* We have a compatible daemon; complete the handshake. * We have a compatible daemon; complete the handshake.
*/ */
pr_info("KVP: user-mode registering done.\n"); pr_debug("KVP: userspace daemon ver. %d registered\n",
KVP_OP_REGISTER);
kvp_register(dm_reg_value); kvp_register(dm_reg_value);
kvp_transaction.state = HVUTIL_READY; kvp_transaction.state = HVUTIL_READY;

Просмотреть файл

@ -113,7 +113,7 @@ static int vss_handle_handshake(struct hv_vss_msg *vss_msg)
return -EINVAL; return -EINVAL;
} }
vss_transaction.state = HVUTIL_READY; vss_transaction.state = HVUTIL_READY;
pr_info("VSS daemon registered\n"); pr_debug("VSS: userspace daemon ver. %d registered\n", dm_reg_value);
return 0; return 0;
} }