Commit 9d0b2b7a authored by Greg Donald's avatar Greg Donald Committed by Greg Kroah-Hartman
Browse files

drivers: staging: lustre: Fix that open brace { should be on the previous line errors



Fix checkpatch.pl that open brace { should be on the previous line errors

Signed-off-by: default avatarGreg Donald <gdonald@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a58a38ac
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1675,8 +1675,7 @@ ksocknal_send_hello (lnet_ni_t *ni, ksock_conn_t *conn,
static int
ksocknal_invert_type(int type)
{
	switch (type)
	{
	switch (type) {
	case SOCKLND_CONN_ANY:
	case SOCKLND_CONN_CONTROL:
		return type;
+3 −6
Original line number Diff line number Diff line
@@ -756,8 +756,7 @@ ksocknal_unpack_msg_v2(ksock_msg_t *msg)
	return;  /* Do nothing */
}

ksock_proto_t  ksocknal_protocol_v1x =
{
ksock_proto_t  ksocknal_protocol_v1x = {
	.pro_version	    = KSOCK_PROTO_V1,
	.pro_send_hello	 = ksocknal_send_hello_v1,
	.pro_recv_hello	 = ksocknal_recv_hello_v1,
@@ -770,8 +769,7 @@ ksock_proto_t ksocknal_protocol_v1x =
	.pro_match_tx	   = ksocknal_match_tx
};

ksock_proto_t  ksocknal_protocol_v2x =
{
ksock_proto_t  ksocknal_protocol_v2x = {
	.pro_version	    = KSOCK_PROTO_V2,
	.pro_send_hello	 = ksocknal_send_hello_v2,
	.pro_recv_hello	 = ksocknal_recv_hello_v2,
@@ -784,8 +782,7 @@ ksock_proto_t ksocknal_protocol_v2x =
	.pro_match_tx	   = ksocknal_match_tx
};

ksock_proto_t  ksocknal_protocol_v3x =
{
ksock_proto_t  ksocknal_protocol_v3x = {
	.pro_version	    = KSOCK_PROTO_V3,
	.pro_send_hello	 = ksocknal_send_hello_v2,
	.pro_recv_hello	 = ksocknal_recv_hello_v2,
+1 −2
Original line number Diff line number Diff line
@@ -384,8 +384,7 @@ lnet_freelist_init (lnet_freelist_t *fl, int n, int size)
	fl->fl_nobjs = n;
	fl->fl_objsize = size;

	do
	{
	do {
		memset (space, 0, size);
		list_add ((struct list_head *)space, &fl->fl_list);
		space += size;
+1 −2
Original line number Diff line number Diff line
@@ -1592,8 +1592,7 @@ sfw_post_rpc (srpc_client_rpc_t *rpc)
	return;
}

static srpc_service_t sfw_services[] =
{
static srpc_service_t sfw_services[] = {
	{
		/* sv_id */    SRPC_SERVICE_DEBUG,
		/* sv_name */  "debug",
+1 −2
Original line number Diff line number Diff line
@@ -1074,8 +1074,7 @@ static inline char *hai_dump_data_field(struct hsm_action_item *hai,
	ptr = buffer;
	sz = len;
	data_len = hai->hai_len - sizeof(*hai);
	for (i = 0 ; (i < data_len) && (sz > 0) ; i++)
	{
	for (i = 0 ; (i < data_len) && (sz > 0) ; i++) {
		int cnt;

		cnt = snprintf(ptr, sz, "%.2X",
Loading