Commit 4deccd6d authored by Dotan Barak's avatar Dotan Barak Committed by Roland Dreier

RDMA: Improve include file coding style

Remove subversion $Id lines and improve readability by fixing other
coding style problems pointed out by checkpatch.pl.
Signed-off-by: default avatarDotan Barak <dotanba@gmail.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent fd91b1bf
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*
* $Id: ib_cache.h 1349 2004-12-16 21:09:43Z roland $
*/ */
#ifndef _IB_CACHE_H #ifndef _IB_CACHE_H
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*
* $Id: ib_cm.h 4311 2005-12-05 18:42:01Z sean.hefty $
*/ */
#if !defined(IB_CM_H) #if !defined(IB_CM_H)
#define IB_CM_H #define IB_CM_H
......
...@@ -29,8 +29,6 @@ ...@@ -29,8 +29,6 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*
* $Id: ib_fmr_pool.h 2730 2005-06-28 16:43:03Z sean.hefty $
*/ */
#if !defined(IB_FMR_POOL_H) #if !defined(IB_FMR_POOL_H)
...@@ -61,7 +59,7 @@ struct ib_fmr_pool_param { ...@@ -61,7 +59,7 @@ struct ib_fmr_pool_param {
int pool_size; int pool_size;
int dirty_watermark; int dirty_watermark;
void (*flush_function)(struct ib_fmr_pool *pool, void (*flush_function)(struct ib_fmr_pool *pool,
void * arg); void *arg);
void *flush_arg; void *flush_arg;
unsigned cache:1; unsigned cache:1;
}; };
......
...@@ -32,11 +32,9 @@ ...@@ -32,11 +32,9 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*
* $Id: ib_mad.h 5596 2006-03-03 01:00:07Z sean.hefty $
*/ */
#if !defined( IB_MAD_H ) #if !defined(IB_MAD_H)
#define IB_MAD_H #define IB_MAD_H
#include <linux/list.h> #include <linux/list.h>
...@@ -194,8 +192,7 @@ struct ib_vendor_mad { ...@@ -194,8 +192,7 @@ struct ib_vendor_mad {
u8 data[IB_MGMT_VENDOR_DATA]; u8 data[IB_MGMT_VENDOR_DATA];
}; };
struct ib_class_port_info struct ib_class_port_info {
{
u8 base_version; u8 base_version;
u8 class_version; u8 class_version;
__be16 capability_mask; __be16 capability_mask;
...@@ -614,7 +611,7 @@ int ib_process_mad_wc(struct ib_mad_agent *mad_agent, ...@@ -614,7 +611,7 @@ int ib_process_mad_wc(struct ib_mad_agent *mad_agent,
* any class specific header, and MAD data area. * any class specific header, and MAD data area.
* If @rmpp_active is set, the RMPP header will be initialized for sending. * If @rmpp_active is set, the RMPP header will be initialized for sending.
*/ */
struct ib_mad_send_buf * ib_create_send_mad(struct ib_mad_agent *mad_agent, struct ib_mad_send_buf *ib_create_send_mad(struct ib_mad_agent *mad_agent,
u32 remote_qpn, u16 pkey_index, u32 remote_qpn, u16 pkey_index,
int rmpp_active, int rmpp_active,
int hdr_len, int data_len, int hdr_len, int data_len,
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*
* $Id: ib_pack.h 1349 2004-12-16 21:09:43Z roland $
*/ */
#ifndef IB_PACK_H #ifndef IB_PACK_H
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*
* $Id: ib_sa.h 2811 2005-07-06 18:11:43Z halr $
*/ */
#ifndef IB_SA_H #ifndef IB_SA_H
......
...@@ -32,11 +32,9 @@ ...@@ -32,11 +32,9 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*
* $Id: ib_smi.h 1389 2004-12-27 22:56:47Z roland $
*/ */
#if !defined( IB_SMI_H ) #if !defined(IB_SMI_H)
#define IB_SMI_H #define IB_SMI_H
#include <rdma/ib_mad.h> #include <rdma/ib_mad.h>
......
...@@ -29,8 +29,6 @@ ...@@ -29,8 +29,6 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*
* $Id: ib_user_cm.h 4019 2005-11-11 00:33:09Z sean.hefty $
*/ */
#ifndef IB_USER_CM_H #ifndef IB_USER_CM_H
......
...@@ -29,8 +29,6 @@ ...@@ -29,8 +29,6 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*
* $Id: ib_user_mad.h 2814 2005-07-06 19:14:09Z halr $
*/ */
#ifndef IB_USER_MAD_H #ifndef IB_USER_MAD_H
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*
* $Id: ib_user_verbs.h 4019 2005-11-11 00:33:09Z sean.hefty $
*/ */
#ifndef IB_USER_VERBS_H #ifndef IB_USER_VERBS_H
......
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*
* $Id: ib_verbs.h 1349 2004-12-16 21:09:43Z roland $
*/ */
#if !defined(IB_VERBS_H) #if !defined(IB_VERBS_H)
...@@ -777,7 +775,7 @@ struct ib_cq { ...@@ -777,7 +775,7 @@ struct ib_cq {
struct ib_uobject *uobject; struct ib_uobject *uobject;
ib_comp_handler comp_handler; ib_comp_handler comp_handler;
void (*event_handler)(struct ib_event *, void *); void (*event_handler)(struct ib_event *, void *);
void * cq_context; void *cq_context;
int cqe; int cqe;
atomic_t usecnt; /* count number of work queues */ atomic_t usecnt; /* count number of work queues */
}; };
......
...@@ -62,7 +62,7 @@ struct iw_cm_event { ...@@ -62,7 +62,7 @@ struct iw_cm_event {
struct sockaddr_in remote_addr; struct sockaddr_in remote_addr;
void *private_data; void *private_data;
u8 private_data_len; u8 private_data_len;
void* provider_data; void *provider_data;
}; };
/** /**
......
...@@ -62,7 +62,7 @@ enum rdma_cm_event_type { ...@@ -62,7 +62,7 @@ enum rdma_cm_event_type {
enum rdma_port_space { enum rdma_port_space {
RDMA_PS_SDP = 0x0001, RDMA_PS_SDP = 0x0001,
RDMA_PS_IPOIB= 0x0002, RDMA_PS_IPOIB = 0x0002,
RDMA_PS_TCP = 0x0106, RDMA_PS_TCP = 0x0106,
RDMA_PS_UDP = 0x0111, RDMA_PS_UDP = 0x0111,
RDMA_PS_SCTP = 0x0183 RDMA_PS_SCTP = 0x0183
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment