lkml.org 
[lkml]   [2015]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH RFC tip/core/rcu 08/14] rcu: Fix synchronize_sched_expedited() type error for "s"
Date
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>

The type of "s" has been "long" rather than the correct "unsigned long"
for quite some time. This commit fixes this type error.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
kernel/rcu/tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index ad6980af1c99..65ba4977b200 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -3438,7 +3438,7 @@ static int synchronize_sched_expedited_cpu_stop(void *data)
void synchronize_sched_expedited(void)
{
int cpu;
- long s;
+ unsigned long s;
struct rcu_node *rnp;
struct rcu_state *rsp = &rcu_sched_state;

--
1.8.1.5


\
 
 \ /
  Last update: 2015-07-01 01:01    [W:0.117 / U:1.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site