提交 2b06b70b 编写于 作者: A Aybuke Ozdemir 提交者: Greg Kroah-Hartman

Staging: lustre: include: linux: Fix line over 80 characters.

The following patch fixes the checkpatch.pl warning:
WARNING: line over 80 characters.
Signed-off-by: NAybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 2d02b0b8
...@@ -94,8 +94,8 @@ static inline int lnet_md_exhausted(lnet_libmd_t *md) ...@@ -94,8 +94,8 @@ static inline int lnet_md_exhausted(lnet_libmd_t *md)
static inline int lnet_md_unlinkable(lnet_libmd_t *md) static inline int lnet_md_unlinkable(lnet_libmd_t *md)
{ {
/* Should unlink md when its refcount is 0 and either: /* Should unlink md when its refcount is 0 and either:
* - md has been flagged for deletion (by auto unlink or LNetM[DE]Unlink, * - md has been flagged for deletion (by auto unlink or
* in the latter case md may not be exhausted). * LNetM[DE]Unlink, in the latter case md may not be exhausted).
* - auto unlink is on and md is exhausted. * - auto unlink is on and md is exhausted.
*/ */
if (md->md_refcount != 0) if (md->md_refcount != 0)
...@@ -644,7 +644,8 @@ lnet_ni_t *lnet_net2ni_locked(__u32 net, int cpt); ...@@ -644,7 +644,8 @@ lnet_ni_t *lnet_net2ni_locked(__u32 net, int cpt);
lnet_ni_t *lnet_net2ni(__u32 net); lnet_ni_t *lnet_net2ni(__u32 net);
int lnet_notify(lnet_ni_t *ni, lnet_nid_t peer, int alive, unsigned long when); int lnet_notify(lnet_ni_t *ni, lnet_nid_t peer, int alive, unsigned long when);
void lnet_notify_locked(lnet_peer_t *lp, int notifylnd, int alive, unsigned long when); void lnet_notify_locked(lnet_peer_t *lp, int notifylnd, int alive,
unsigned long when);
int lnet_add_route(__u32 net, unsigned int hops, lnet_nid_t gateway_nid, int lnet_add_route(__u32 net, unsigned int hops, lnet_nid_t gateway_nid,
unsigned int priority); unsigned int priority);
int lnet_check_routes(void); int lnet_check_routes(void);
...@@ -791,8 +792,8 @@ lnet_copy_iov2flat(int dlen, void *dest, unsigned int doffset, ...@@ -791,8 +792,8 @@ lnet_copy_iov2flat(int dlen, void *dest, unsigned int doffset,
static inline void static inline void
lnet_copy_kiov2flat(int dlen, void *dest, unsigned int doffset, lnet_copy_kiov2flat(int dlen, void *dest, unsigned int doffset,
unsigned int nsiov, lnet_kiov_t *skiov, unsigned int soffset, unsigned int nsiov, lnet_kiov_t *skiov,
unsigned int nob) unsigned int soffset, unsigned int nob)
{ {
struct iovec diov = {/* .iov_base = */ dest, /* .iov_len = */ dlen}; struct iovec diov = {/* .iov_base = */ dest, /* .iov_len = */ dlen};
...@@ -811,8 +812,9 @@ lnet_copy_flat2iov(unsigned int ndiov, struct iovec *diov, unsigned int doffset, ...@@ -811,8 +812,9 @@ lnet_copy_flat2iov(unsigned int ndiov, struct iovec *diov, unsigned int doffset,
} }
static inline void static inline void
lnet_copy_flat2kiov(unsigned int ndiov, lnet_kiov_t *dkiov, unsigned int doffset, lnet_copy_flat2kiov(unsigned int ndiov, lnet_kiov_t *dkiov,
int slen, void *src, unsigned int soffset, unsigned int nob) unsigned int doffset, int slen, void *src,
unsigned int soffset, unsigned int nob)
{ {
struct iovec siov = {/* .iov_base = */ src, /* .iov_len = */ slen}; struct iovec siov = {/* .iov_base = */ src, /* .iov_len = */ slen};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册