Drivers: hv: utils: unify driver registration reporting
authorVitaly Kuznetsov <vkuznets@redhat.com>
Sun, 12 Apr 2015 01:07:59 +0000 (18:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 19:17:42 +0000 (12:17 -0700)
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>
drivers/hv/hv_fcopy.c
drivers/hv/hv_kvp.c
drivers/hv/hv_snapshot.c

index b7b528cd481b02c3eea29803836730dac3369447..b50dd330cf311ca5d7da7681aa0d818d61a6463b 100644 (file)
@@ -107,8 +107,7 @@ static int fcopy_handle_handshake(u32 version)
                 */
                return -EINVAL;
        }
-       pr_info("FCP: user-mode registering done. Daemon version: %d\n",
-               version);
+       pr_debug("FCP: userspace daemon ver. %d registered\n", version);
        fcopy_transaction.state = HVUTIL_READY;
        hv_poll_channel(fcopy_transaction.fcopy_context,
                        hv_fcopy_onchannelcallback);
index baa12088ef24fa04a75c67de5c889db8ad5c7751..d85798d5992c7d6196e3a4ae7671721583639d5b 100644 (file)
@@ -150,7 +150,8 @@ static int kvp_handle_handshake(struct hv_kvp_msg *msg)
        /*
         * 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_transaction.state = HVUTIL_READY;
 
index ee1762b39bf2d66ad04d08b8bc64af1aed54fa88..815405f2e777daba30f0db91216ca04a56b81a6a 100644 (file)
@@ -113,7 +113,7 @@ static int vss_handle_handshake(struct hv_vss_msg *vss_msg)
                return -EINVAL;
        }
        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;
 }