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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 29 Aug 2013 12:44:37 +0800
From:	Chen Gang <gang.chen@...anux.com>
To:	Yoshinori Sato <ysato@...rs.sourceforge.jp>,
	Geert Uytterhoeven <geert@...ux-m68k.org>, ak@...ux.intel.com
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] h8300/kernel/timer/timer8.c: add the missing semicolon

On 08/29/2013 11:51 AM, Chen Gang wrote:
> Add the missing semicolon to fix the typo issue.
> 
> The related error: (defconfig for H8S):
> 
>   arch/h8300/kernel/timer/timer8.c: In function 'h8300_timer_setup':
>   arch/h8300/kernel/timer/timer8.c:98:2: error: expected ';' before 'ctrl_outw'
> 
> Signed-off-by: Chen Gang <gang.chen@...anux.com>
> ---
>  arch/h8300/Makefile              |    2 +-
>  arch/h8300/kernel/timer/timer8.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/h8300/Makefile b/arch/h8300/Makefile
> index a556447..d2ba710 100644
> --- a/arch/h8300/Makefile
> +++ b/arch/h8300/Makefile
> @@ -25,7 +25,7 @@ model-$(CONFIG_RAMKERNEL)	:= ram
>  model-$(CONFIG_ROMKERNEL)	:= rom
>  MODEL := $(model-y)
>  
> -cflags-$(CONFIG_CPU_H8300H)	:= -mh
> +cflags-$(CONFIG_CPU_H8300H)	:= -mh -mcpu=h8300h

Oh, sorry, it contents some waste things, I should send patch v2.


>  ldflags-$(CONFIG_CPU_H8300H)	:= -mh8300helf
>  cflags-$(CONFIG_CPU_H8S)	:= -ms
>  ldflags-$(CONFIG_CPU_H8S)	:= -mh8300self
> diff --git a/arch/h8300/kernel/timer/timer8.c b/arch/h8300/kernel/timer/timer8.c
> index 505f341..8aac2a7 100644
> --- a/arch/h8300/kernel/timer/timer8.c
> +++ b/arch/h8300/kernel/timer/timer8.c
> @@ -91,7 +91,7 @@ void __init h8300_timer_setup(void)
>  
>  #if defined(CONFIG_CPU_H8S)
>  	/* Timer module enable */
> -	ctrl_bclr(0, MSTPCRL)
> +	ctrl_bclr(0, MSTPCRL);
>  #endif
>  
>  	/* initialize timer */
> 


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