[openib-general] [PATCH][SDP][20/33] Fix comment style in sdp_post.c

Tom Duffy Tom.Duffy at Sun.COM
Thu Feb 17 14:11:55 PST 2005


Signed-off-by: Tom Duffy <tduffy at sun.com>

--- drivers/infiniband/ulp/sdp-orig/sdp_post.c	2005-02-10 18:42:57.157027000 -0800
+++ drivers/infiniband/ulp/sdp/sdp_post.c	2005-02-17 11:11:01.646018000 -0800
@@ -1,30 +1,42 @@
 /*
-  This software is available to you under a choice of one of two
-  licenses.  You may choose to be licensed under the terms of the GNU
-  General Public License (GPL) Version 2, available at
-  <http://www.fsf.org/copyleft/gpl.html>, or the OpenIB.org BSD
-  license, available in the LICENSE.TXT file accompanying this
-  software.  These details are also available at
-  <http://openib.org/license.html>.
-
-  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
-  BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-  ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-  SOFTWARE.
-
-  Copyright (c) 2005 Topspin Communications.  All rights reserved.
-
-  $Id: sdp_post.c 649 2004-08-13 22:41:04Z roland $
-*/
+ * Copyright (c) 2005 Topspin Communications.  All rights reserved.
+ *
+ * This software is available to you under a choice of one of two
+ * licenses.  You may choose to be licensed under the terms of the GNU
+ * General Public License (GPL) Version 2, available from the file
+ * COPYING in the main directory of this source tree, or the
+ * OpenIB.org BSD license below:
+ *
+ *     Redistribution and use in source and binary forms, with or
+ *     without modification, are permitted provided that the following
+ *     conditions are met:
+ *
+ *      - Redistributions of source code must retain the above
+ *        copyright notice, this list of conditions and the following
+ *        disclaimer.
+ *
+ *      - Redistributions in binary form must reproduce the above
+ *        copyright notice, this list of conditions and the following
+ *        disclaimer in the documentation and/or other materials
+ *        provided with the distribution.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ * $Id$
+ */
 
 #include "sdp_main.h"
 
-/* ========================================================================= */
-/*..sdp_cm_listen_start --  start listening on all possible socket ports */
+/*
+ * sdp_cm_listen_start - start listening on all possible socket ports
+ */
 int sdp_cm_listen_start(struct sdev_root *dev_root)
 {
 	int result = 0;
@@ -64,8 +76,9 @@ int sdp_cm_listen_start(struct sdev_root
 	return result;
 } /* sdp_cm_listen_start */
 
-/* ========================================================================= */
-/*..sdp_cm_listen_stop --  stop listening on all possible socket ports */
+/*
+ * sdp_cm_listen_stop - stop listening on all possible socket ports
+ */
 int sdp_cm_listen_stop(struct sdev_root *dev_root)
 {
 	int result = 0;
@@ -87,8 +100,9 @@ int sdp_cm_listen_stop(struct sdev_root 
 	return result;
 } /* sdp_cm_listen_stop */
 
-/* ========================================================================= */
-/*.._sdp_cm_disconnect -- initiate a disconnect request using the CM */
+/*
+ * _sdp_cm_disconnect - initiate a disconnect request using the CM
+ */
 static void _sdp_cm_disconnect(void *arg)
 {
 	struct sdp_opt *conn = (struct sdp_opt *)arg;
@@ -115,8 +129,9 @@ static void _sdp_cm_disconnect(void *arg
 	return;
 } /* _sdp_cm_disconnect */
 
-/* ========================================================================= */
-/*.._sdp_cm_reject -- initiate a reject request using the CM */
+/*
+ * _sdp_cm_reject - initiate a reject request using the CM
+ */
 static void _sdp_cm_reject(void *arg)
 {
 	struct sdp_opt *conn = (struct sdp_opt *)arg;
@@ -144,8 +159,9 @@ static void _sdp_cm_reject(void *arg)
 	return;
 } /* _sdp_cm_reject */
 
-/* ========================================================================= */
-/*.._sdp_cm_confirm -- initiate a confirm request using the CM */
+/*
+ * _sdp_cm_confirm - initiate a confirm request using the CM
+ */
 static void _sdp_cm_confirm(void *arg)
 {
 	struct sdp_opt *conn = (struct sdp_opt *)arg;
@@ -171,8 +187,9 @@ static void _sdp_cm_confirm(void *arg)
 	return;
 } /* _sdp_cm_confirm */
 
-/* ========================================================================= */
-/*.._sdp_cm_failed -- initiate a Failed request using the CM */
+/*
+ * _sdp_cm_failed - initiate a Failed request using the CM
+ */
 static void _sdp_cm_failed(void *arg)
 {
 	struct sdp_opt *conn = (struct sdp_opt *)arg;
@@ -201,8 +218,9 @@ static void _sdp_cm_failed(void *arg)
 	return;
 } /* _sdp_cm_failed */
 
-/* ========================================================================= */
-/*.._sdp_cm_deferred_generic -- initiate a defered request using the*/
+/*
+ * _sdp_cm_deferred_generic - initiate a defered request using the CM
+ */
 static int _sdp_cm_deferred_generic(struct sdp_opt *conn,
 				    void (*defer_func)(void *arg))
 {
@@ -228,29 +246,33 @@ static int _sdp_cm_deferred_generic(stru
 	return 0;
 } /* _sdp_cm_deferred_generic */
 
-/* ========================================================================= */
-/*..sdp_cm_disconnect -- initiate a disconnect request using the CM */
+/*
+ * sdp_cm_disconnect - initiate a disconnect request using the CM
+*/
 int sdp_cm_disconnect(struct sdp_opt *conn)
 {
 	return _sdp_cm_deferred_generic(conn, _sdp_cm_disconnect);
 } /* sdp_cm_disconnect */
 
-/* ========================================================================= */
-/*..sdp_cm_reject -- initiate a reject request using the CM */
+/*
+ * sdp_cm_reject - initiate a reject request using the CM
+ */
 int sdp_cm_reject(struct sdp_opt *conn)
 {
 	return _sdp_cm_deferred_generic(conn, _sdp_cm_reject);
 } /* sdp_cm_reject */
 
-/* ========================================================================= */
-/*..sdp_cm_confirm -- initiate a confirm request using the CM */
+/*
+ * sdp_cm_confirm - initiate a confirm request using the CM
+ */
 int sdp_cm_confirm(struct sdp_opt *conn)
 {
 	return _sdp_cm_deferred_generic(conn, _sdp_cm_confirm);
 } /* sdp_cm_confirm */
 
-/* ========================================================================= */
-/*..sdp_cm_failed -- initiate a failed request using the CM */
+/*
+ * sdp_cm_failed - initiate a failed request using the CM
+ */
 int sdp_cm_failed(struct sdp_opt *conn)
 {
 	return _sdp_cm_deferred_generic(conn, _sdp_cm_failed);




More information about the general mailing list