lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 08 Dec 2008 11:14:36 -0500
From:	Gregory Haskins <ghaskins@...ell.com>
To:	Ingo Molnar <mingo@...e.hu>
CC:	Steven Rostedt <rostedt@...dmis.org>,
	Peter Zijlstra <peterz@...radead.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sched: fix build failure in kernel/sched_rt.c

Ingo Molnar wrote:
> From a9750309ef51081abb17268936769511b3683488 Mon Sep 17 00:00:00 2001
> From: Ingo Molnar <mingo@...e.hu>
> Date: Mon, 8 Dec 2008 16:39:24 +0100
> Subject: [PATCH] sched: fix build failure in kernel/sched_rt.c
> MIME-Version: 1.0
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: 8bit
>
> Impact: build fix
>   

Doh!

-Greg "always breakin' uniprocessor" Haskins

(sorry)

> fix:
>
>  kernel/sched_rt.c: In function ‘inc_rt_tasks’:
>  kernel/sched_rt.c:593: error: ‘prio’ undeclared (first use in this function)
>  kernel/sched_rt.c:593: error: (Each undeclared identifier is reported only once
>  kernel/sched_rt.c:593: error: for each function it appears in.)
>
> Signed-off-by: Ingo Molnar <mingo@...e.hu>
> ---
>  kernel/sched_rt.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
> index c5b1c5a..64a8f0a 100644
> --- a/kernel/sched_rt.c
> +++ b/kernel/sched_rt.c
> @@ -583,9 +583,7 @@ static inline int next_prio(struct rq *rq)
>  static inline
>  void inc_rt_tasks(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq)
>  {
> -#if defined CONFIG_SMP || defined CONFIG_RT_GROUP_SCHED
>  	int prio = rt_se_prio(rt_se);
> -#endif
>  #ifdef CONFIG_SMP
>  	struct rq *rq = rq_of_rt_rq(rt_rq);
>  #endif
>   



Download attachment "signature.asc" of type "application/pgp-signature" (258 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ