From 5793eb9977d1d64f388ab1146264f801ea1bd26b Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 4 Dec 2008 00:26:39 -0500 Subject: [PATCH] --- yaml --- r: 121255 b: refs/heads/master c: 5ef6476190d24419a9a537baa0b5641845136989 h: refs/heads/master i: 121253: fa085a13c7a46698f5c48ccd4837c1f7e825529e 121251: c31e59475d801a7f8234741a00a024551319144b 121247: 43589ab668eed4adcab58b110b10579919566ac1 v: v3 --- [refs] | 2 +- trunk/include/linux/pid.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 13a734b50de7..020de089ed32 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 804a685162a7080386714166776f57255a75238e +refs/heads/master: 5ef6476190d24419a9a537baa0b5641845136989 diff --git a/trunk/include/linux/pid.h b/trunk/include/linux/pid.h index d7e98ff8021e..bb206c56d1f0 100644 --- a/trunk/include/linux/pid.h +++ b/trunk/include/linux/pid.h @@ -147,9 +147,9 @@ pid_t pid_vnr(struct pid *pid); #define do_each_pid_task(pid, type, task) \ do { \ struct hlist_node *pos___; \ - if (pid != NULL) \ + if ((pid) != NULL) \ hlist_for_each_entry_rcu((task), pos___, \ - &pid->tasks[type], pids[type].node) { + &(pid)->tasks[type], pids[type].node) { /* * Both old and new leaders may be attached to