Displaying 2 results from an estimated 2 matches for "1ce6aaf".
2017 Mar 17
1
[PATCH] tty: hvc: don't allocate a buffer for console print on stack
...ight?
>
> Signed-off-by: Jan Dakinevich <jan.dakinevich at gmail.com>
> ---
> drivers/tty/hvc/hvc_console.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c
> index 9b5c0fb..1ce6aaf 100644
> --- a/drivers/tty/hvc/hvc_console.c
> +++ b/drivers/tty/hvc/hvc_console.c
> @@ -143,10 +143,15 @@ static struct hvc_struct *hvc_get_by_index(int index)
> static void hvc_console_print(struct console *co, const char *b,
> unsigned count)
> {
> - char c[N_OUT...
2017 Mar 17
1
[PATCH] tty: hvc: don't allocate a buffer for console print on stack
...ight?
>
> Signed-off-by: Jan Dakinevich <jan.dakinevich at gmail.com>
> ---
> drivers/tty/hvc/hvc_console.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c
> index 9b5c0fb..1ce6aaf 100644
> --- a/drivers/tty/hvc/hvc_console.c
> +++ b/drivers/tty/hvc/hvc_console.c
> @@ -143,10 +143,15 @@ static struct hvc_struct *hvc_get_by_index(int index)
> static void hvc_console_print(struct console *co, const char *b,
> unsigned count)
> {
> - char c[N_OUT...