[openib-general] [PATCH][SDP][3/33] Fix comment style in sdp_advt.h

Tom Duffy Tom.Duffy at Sun.COM
Thu Feb 17 14:09:00 PST 2005


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

--- drivers/infiniband/ulp/sdp-orig/sdp_advt.h	2005-02-10 18:42:56.640003000 -0800
+++ drivers/infiniband/ulp/sdp/sdp_advt.h	2005-02-17 12:45:25.967016000 -0800
@@ -1,38 +1,50 @@
 /*
-  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_advt.h 619 2004-08-10 03:23:02Z 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$
+ */
 
 #ifndef _SDP_ADVT_H
 #define _SDP_ADVT_H
 
 #include "sdp_queue.h"
+
 /*
  * IOCB flags.
  */
 #define SDP_ADVT_F_READ 0x00000001 /* ADVT has an active read operation */
-/* ----------------------------------------------------------------------- */
-/* SDP read/write advertisments                                            */
-/* ----------------------------------------------------------------------- */
 
+/*
+ * SDP read/write advertisments
+ */
 struct sdpc_advt {
 	struct sdpc_advt   *next;  /* next structure in table */
 	struct sdpc_advt   *prev;  /* previous structure in table */
@@ -49,6 +61,7 @@ struct sdpc_advt {
 	u32 flag; /* advertisment flags. */
 	u64 addr; /* advertised buffer virtual address */
 }; /* struct sdpc_advt */
+
 /*
  * table for holding SDP advertisments.
  */
@@ -56,6 +69,7 @@ struct sdpc_advt_q {
 	struct sdpc_advt *head; /* double linked list of advertisments */
 	s32 size;               /* current number of advertisments in table */
 }; /* struct sdpc_advt_q */
+
 /*
  * make size a macro.
  */




More information about the general mailing list