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] [day] [month] [year] [list]
Message-ID: <1435233365.14064.37.camel@gmail.com>
Date:	Thu, 25 Jun 2015 13:56:05 +0200
From:	Mike Galbraith <umgwanakikbuti@...il.com>
To:	Sreejith N <sreejith.naarakathil@...il.com>
Cc:	linux-kernel@...r.kernel.org, Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [RT][3.10.81-rt88] Build error in 'setup_clkevents' with
 3.10.81-rt88 and vanilla kernel 3.10.81

(cc)

On Thu, 2015-06-25 at 17:06 +0530, Sreejith N wrote:
> Getting build error with 3.10.81-rt88 and vanilla kernel 3.10.81 in below line,
> ./drivers/clocksource/tcb_clksrc.c:195: timer_clock = clk32k_divisor_idx;
> 
> Below kernel config enabled:
> CONFIG_ATMEL_TCLIB=y
> CONFIG_ATMEL_TCB_CLKSRC=y
> CONFIG_ATMEL_TCB_CLKSRC_BLOCK=0
> CONFIG_GENERIC_CLOCKEVENTS=y
> 
> Compiler: arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite
> 2014.05-29) 4.8.3 20140320 (prerelease)
> 
> Kernel booting is not successful.
> [    0.109375] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    0.109375] ehci-atmel: EHCI Atmel driver
> [    0.109375] atmel-ehci 700000.ehci: EHCI Host Controller
> [    0.109375] atmel-ehci 700000.ehci: new USB bus registered,
> assigned bus number 1
> [    0.109375] atmel-ehci 700000.ehci: irq 26, io mem 0x00700000
> 
> 
> Thanks,
> Sreejith
> 
> Below patch fixed the compiler error:
> diff -uNr linux-3.10.81-rt-orig/drivers/clocksource/tcb_clksrc.c
> linux-3.10.81-rt-mine/drivers/clocksource/tcb_clksrc.c
> --- linux-3.10.81-rt-orig/drivers/clocksource/tcb_clksrc.c 2015-06-25
> 12:01:00.274877048 +0530
> +++ linux-3.10.81-rt-mine/drivers/clocksource/tcb_clksrc.c 2015-06-25
> 11:58:10.190868730 +0530
> @@ -192,7 +192,7 @@
>   clkevt.clk = t2_clk;
>   tc_irqaction.dev_id = &clkevt;
> 
> - timer_clock = clk32k_divisor_idx;
> + timer_clock = divisor_idx;
> 
>   clkevt.clkevt.cpumask = cpumask_of(0);
> --
> 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/


--
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