Whamcloud - gitweb
LU-6245 libcfs: remove types abstraction from libcfs/LNet code
[fs/lustre-release.git] / lnet / klnds / socklnd / socklnd_proto.c
index f4a7d77..6ea8494 100644 (file)
@@ -8,7 +8,7 @@
  *   Author: Phil Schwan <phil@clusterfs.com>
  *   Author: Eric Barton <eric@bartonsoftware.com>
  *
- *   This file is part of Portals, http://www.sf.net/projects/sandiaportals/
+ *   This file is part of Lustre, https://wiki.hpdd.intel.com/
  *
  *   Portals is free software; you can redistribute it and/or
  *   modify it under the terms of version 2 of the GNU General Public
@@ -192,7 +192,7 @@ ksocknal_queue_tx_zcack_v3(ksock_conn_t *conn,
 
         if (cookie == tx->tx_msg.ksm_zc_cookies[0] ||
             cookie == tx->tx_msg.ksm_zc_cookies[1]) {
-                CWARN("%s: duplicated ZC cookie: "LPU64"\n",
+               CWARN("%s: duplicated ZC cookie: %llu\n",
                       libcfs_id2str(conn->ksnc_peer->ksnp_id), cookie);
                 return 1; /* XXX return error in the future */
         }
@@ -219,7 +219,7 @@ ksocknal_queue_tx_zcack_v3(ksock_conn_t *conn,
         if (tx->tx_msg.ksm_zc_cookies[0] > tx->tx_msg.ksm_zc_cookies[1]) {
                 __u64   tmp = 0;
 
-                /* two seperated cookies: (a+2, a) or (a+1, a) */
+               /* two separated cookies: (a+2, a) or (a+1, a) */
                 LASSERT (tx->tx_msg.ksm_zc_cookies[0] -
                          tx->tx_msg.ksm_zc_cookies[1] <= 2);
 
@@ -244,7 +244,7 @@ ksocknal_queue_tx_zcack_v3(ksock_conn_t *conn,
                 /* ksm_zc_cookies[0] < ksm_zc_cookies[1], it is range of cookies */
                 if (cookie >= tx->tx_msg.ksm_zc_cookies[0] &&
                     cookie <= tx->tx_msg.ksm_zc_cookies[1]) {
-                        CWARN("%s: duplicated ZC cookie: "LPU64"\n",
+                       CWARN("%s: duplicated ZC cookie: %llu\n",
                               libcfs_id2str(conn->ksnc_peer->ksnp_id), cookie);
                         return 1; /* XXX: return error in the future */
                 }