Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1158320 > unrolled thread

Re: [PATCH v4 4/7] staging:lustre: rename tcpip handling functions to lnet_* prefix

Started byDan Carpenter <dan.carpenter@oracle.com>
First post2015-06-04 09:50 +0200
Last post2015-06-04 09:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v4 4/7] staging:lustre: rename tcpip handling functions  to lnet_* prefix Dan Carpenter <dan.carpenter@oracle.com> - 2015-06-04 09:50 +0200

#1158320 — Re: [PATCH v4 4/7] staging:lustre: rename tcpip handling functions to lnet_* prefix

FromDan Carpenter <dan.carpenter@oracle.com>
Date2015-06-04 09:50 +0200
SubjectRe: [PATCH v4 4/7] staging:lustre: rename tcpip handling functions to lnet_* prefix
Message-ID<pxy4y-2ux-19@gated-at.bofh.it>
On Thu, Jun 04, 2015 at 11:27:10AM +0530, Sudip Mukherjee wrote:
> On Wed, Jun 03, 2015 at 03:57:10PM -0400, James Simmons wrote:
> > With all the TCPIP handling done in the lnet layer we should
> > rename all the functions with the prefix lnet_*. One other
> > change done was changing the remove argument of lnet_sock_getaddr
> > from a int to a bool.
> thats two different change.
> and apart from this:
> 1) the function declarations were renamed and moved from
> lustre/include/linux/libcfs/libcfs.h to drivers/staging/lustre/include/linux/lnet/lib-lnet.h
> 
> 2) some functions you have changed the coding style. like:
> -     rc = libcfs_sock_getaddr(conn->ksnc_sock, 0,
> -                              &conn->ksnc_myipaddr, NULL);
> +     rc = lnet_sock_getaddr(conn->ksnc_sock, 0, &conn->ksnc_myipaddr, NULL);
> 

Those are tiny related changes.  They're fine.  When you rename
functions you normally have to change the indenting as well.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web