[NET] ROSE: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
1ce4f28bd7
commit
3dcf7c5e8b
@@ -66,7 +66,7 @@ static int __must_check rose_add_node(struct rose_route_struct *rose_route,
|
|||||||
while (rose_node != NULL) {
|
while (rose_node != NULL) {
|
||||||
if ((rose_node->mask == rose_route->mask) &&
|
if ((rose_node->mask == rose_route->mask) &&
|
||||||
(rosecmpm(&rose_route->address, &rose_node->address,
|
(rosecmpm(&rose_route->address, &rose_node->address,
|
||||||
rose_route->mask) == 0))
|
rose_route->mask) == 0))
|
||||||
break;
|
break;
|
||||||
rose_node = rose_node->next;
|
rose_node = rose_node->next;
|
||||||
}
|
}
|
||||||
@@ -300,7 +300,7 @@ static int rose_del_node(struct rose_route_struct *rose_route,
|
|||||||
while (rose_node != NULL) {
|
while (rose_node != NULL) {
|
||||||
if ((rose_node->mask == rose_route->mask) &&
|
if ((rose_node->mask == rose_route->mask) &&
|
||||||
(rosecmpm(&rose_route->address, &rose_node->address,
|
(rosecmpm(&rose_route->address, &rose_node->address,
|
||||||
rose_route->mask) == 0))
|
rose_route->mask) == 0))
|
||||||
break;
|
break;
|
||||||
rose_node = rose_node->next;
|
rose_node = rose_node->next;
|
||||||
}
|
}
|
||||||
|
@@ -25,7 +25,7 @@ static int min_window[] = {1}, max_window[] = {7};
|
|||||||
static struct ctl_table_header *rose_table_header;
|
static struct ctl_table_header *rose_table_header;
|
||||||
|
|
||||||
static ctl_table rose_table[] = {
|
static ctl_table rose_table[] = {
|
||||||
{
|
{
|
||||||
.ctl_name = NET_ROSE_RESTART_REQUEST_TIMEOUT,
|
.ctl_name = NET_ROSE_RESTART_REQUEST_TIMEOUT,
|
||||||
.procname = "restart_request_timeout",
|
.procname = "restart_request_timeout",
|
||||||
.data = &sysctl_rose_restart_request_timeout,
|
.data = &sysctl_rose_restart_request_timeout,
|
||||||
@@ -36,7 +36,7 @@ static ctl_table rose_table[] = {
|
|||||||
.extra1 = &min_timer,
|
.extra1 = &min_timer,
|
||||||
.extra2 = &max_timer
|
.extra2 = &max_timer
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.ctl_name = NET_ROSE_CALL_REQUEST_TIMEOUT,
|
.ctl_name = NET_ROSE_CALL_REQUEST_TIMEOUT,
|
||||||
.procname = "call_request_timeout",
|
.procname = "call_request_timeout",
|
||||||
.data = &sysctl_rose_call_request_timeout,
|
.data = &sysctl_rose_call_request_timeout,
|
||||||
@@ -47,7 +47,7 @@ static ctl_table rose_table[] = {
|
|||||||
.extra1 = &min_timer,
|
.extra1 = &min_timer,
|
||||||
.extra2 = &max_timer
|
.extra2 = &max_timer
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.ctl_name = NET_ROSE_RESET_REQUEST_TIMEOUT,
|
.ctl_name = NET_ROSE_RESET_REQUEST_TIMEOUT,
|
||||||
.procname = "reset_request_timeout",
|
.procname = "reset_request_timeout",
|
||||||
.data = &sysctl_rose_reset_request_timeout,
|
.data = &sysctl_rose_reset_request_timeout,
|
||||||
@@ -58,7 +58,7 @@ static ctl_table rose_table[] = {
|
|||||||
.extra1 = &min_timer,
|
.extra1 = &min_timer,
|
||||||
.extra2 = &max_timer
|
.extra2 = &max_timer
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.ctl_name = NET_ROSE_CLEAR_REQUEST_TIMEOUT,
|
.ctl_name = NET_ROSE_CLEAR_REQUEST_TIMEOUT,
|
||||||
.procname = "clear_request_timeout",
|
.procname = "clear_request_timeout",
|
||||||
.data = &sysctl_rose_clear_request_timeout,
|
.data = &sysctl_rose_clear_request_timeout,
|
||||||
@@ -69,7 +69,7 @@ static ctl_table rose_table[] = {
|
|||||||
.extra1 = &min_timer,
|
.extra1 = &min_timer,
|
||||||
.extra2 = &max_timer
|
.extra2 = &max_timer
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.ctl_name = NET_ROSE_NO_ACTIVITY_TIMEOUT,
|
.ctl_name = NET_ROSE_NO_ACTIVITY_TIMEOUT,
|
||||||
.procname = "no_activity_timeout",
|
.procname = "no_activity_timeout",
|
||||||
.data = &sysctl_rose_no_activity_timeout,
|
.data = &sysctl_rose_no_activity_timeout,
|
||||||
@@ -80,7 +80,7 @@ static ctl_table rose_table[] = {
|
|||||||
.extra1 = &min_idle,
|
.extra1 = &min_idle,
|
||||||
.extra2 = &max_idle
|
.extra2 = &max_idle
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.ctl_name = NET_ROSE_ACK_HOLD_BACK_TIMEOUT,
|
.ctl_name = NET_ROSE_ACK_HOLD_BACK_TIMEOUT,
|
||||||
.procname = "acknowledge_hold_back_timeout",
|
.procname = "acknowledge_hold_back_timeout",
|
||||||
.data = &sysctl_rose_ack_hold_back_timeout,
|
.data = &sysctl_rose_ack_hold_back_timeout,
|
||||||
@@ -91,7 +91,7 @@ static ctl_table rose_table[] = {
|
|||||||
.extra1 = &min_timer,
|
.extra1 = &min_timer,
|
||||||
.extra2 = &max_timer
|
.extra2 = &max_timer
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.ctl_name = NET_ROSE_ROUTING_CONTROL,
|
.ctl_name = NET_ROSE_ROUTING_CONTROL,
|
||||||
.procname = "routing_control",
|
.procname = "routing_control",
|
||||||
.data = &sysctl_rose_routing_control,
|
.data = &sysctl_rose_routing_control,
|
||||||
@@ -102,7 +102,7 @@ static ctl_table rose_table[] = {
|
|||||||
.extra1 = &min_route,
|
.extra1 = &min_route,
|
||||||
.extra2 = &max_route
|
.extra2 = &max_route
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.ctl_name = NET_ROSE_LINK_FAIL_TIMEOUT,
|
.ctl_name = NET_ROSE_LINK_FAIL_TIMEOUT,
|
||||||
.procname = "link_fail_timeout",
|
.procname = "link_fail_timeout",
|
||||||
.data = &sysctl_rose_link_fail_timeout,
|
.data = &sysctl_rose_link_fail_timeout,
|
||||||
@@ -113,7 +113,7 @@ static ctl_table rose_table[] = {
|
|||||||
.extra1 = &min_ftimer,
|
.extra1 = &min_ftimer,
|
||||||
.extra2 = &max_ftimer
|
.extra2 = &max_ftimer
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.ctl_name = NET_ROSE_MAX_VCS,
|
.ctl_name = NET_ROSE_MAX_VCS,
|
||||||
.procname = "maximum_virtual_circuits",
|
.procname = "maximum_virtual_circuits",
|
||||||
.data = &sysctl_rose_maximum_vcs,
|
.data = &sysctl_rose_maximum_vcs,
|
||||||
@@ -124,7 +124,7 @@ static ctl_table rose_table[] = {
|
|||||||
.extra1 = &min_maxvcs,
|
.extra1 = &min_maxvcs,
|
||||||
.extra2 = &max_maxvcs
|
.extra2 = &max_maxvcs
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.ctl_name = NET_ROSE_WINDOW_SIZE,
|
.ctl_name = NET_ROSE_WINDOW_SIZE,
|
||||||
.procname = "window_size",
|
.procname = "window_size",
|
||||||
.data = &sysctl_rose_window_size,
|
.data = &sysctl_rose_window_size,
|
||||||
|
Reference in New Issue
Block a user