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]
Message-ID: <20100820121917.GC4879@redhat.com>
Date:	Fri, 20 Aug 2010 08:19:17 -0400
From:	Don Zickus <dzickus@...hat.com>
To:	Lin Ming <ming.m.lin@...el.com>
Cc:	lkml <linux-kernel@...r.kernel.org>,
	Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH] lockup_detector: Make callback function static

On Fri, Aug 20, 2010 at 11:03:51AM +0800, Lin Ming wrote:
> watchdog_overflow_callback is only used in kernel/watchdog.c.

Acked-by: Don Zickus <dzickus@...hat.com>

> 
> Signed-off-by: Lin Ming <ming.m.lin@...el.com>
> ---
>  kernel/watchdog.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/kernel/watchdog.c b/kernel/watchdog.c
> index 613bc1f..b60e2a8 100644
> --- a/kernel/watchdog.c
> +++ b/kernel/watchdog.c
> @@ -202,7 +202,7 @@ static struct perf_event_attr wd_hw_attr = {
>  };
>  
>  /* Callback function for perf event subsystem */
> -void watchdog_overflow_callback(struct perf_event *event, int nmi,
> +static void watchdog_overflow_callback(struct perf_event *event, int nmi,
>  		 struct perf_sample_data *data,
>  		 struct pt_regs *regs)
>  {
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ