Commit graph android_kernel_sony_sdm845/drivers/char/hvc_beat.c
Message SHA1
[POWERPC] hvcbeat: Fix buffer manipulation
This fixes a potential bug at drivers/char/hvc_beat.c.
 - hvc_put_term_char routine will decrement "rest" variable twice,
   and forget to advance "buf" pointer by "nlen" bytes.
This bug was not hit previously because the output handler in
drivers/char/hvc_console.c splits given output into 16 bytes
at maximum.

Reported-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>

Ishizaki Kou   authored and   Paul Mackerras   commited 2008-04-17 07:46:10 +10:00
55045d47d7
[POWERPC] Init markings for hvc_beat
Fix warnings about section mismatch.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Signed-off-by: Paul Mackerras <paulus@samba.org>

Ishizaki Kou   authored and   Paul Mackerras   commited 2007-08-17 11:01:50 +10:00
301d9cb80b
[POWERPC] Celleb: hypervisor console driver
This patch adds hypervisor console driver for Celleb platform.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Signed-off-by: Paul Mackerras <paulus@samba.org>

Ishizaki Kou   authored and   Paul Mackerras   commited 2007-02-07 14:03:21 +11:00
3cdc20e517