public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Linus Torvalds <torvalds@osdl.org>
Cc: "David S. Miller" <davem@davemloft.net>,
	alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org,
	davem@redhat.com, akpm@osdl.org
Subject: Re: Serial maintainership
Date: Thu, 8 Sep 2005 22:31:52 +0100	[thread overview]
Message-ID: <20050908223152.E19542@flint.arm.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.58.0509081418310.3039@g5.osdl.org>; from torvalds@osdl.org on Thu, Sep 08, 2005 at 02:22:37PM -0700

On Thu, Sep 08, 2005 at 02:22:37PM -0700, Linus Torvalds wrote:
> On Thu, 8 Sep 2005, David S. Miller wrote:
> > Ok, I'll revert the patch and fix the sunsab.c driver as
> > Russell indicated.  So much for type checking...
> 
> Actually, I think there's a simpler fix. Instead of reverting, how about 
> something like this?
> 
> (You might even remove the #ifdef inside the function by then, since "ch" 
> being a constant zero will make 90% of it go away anyway).
> 
> rmk? Davem?

Ok, I'll settle for this.

> ---
> diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
> --- a/include/linux/serial_core.h
> +++ b/include/linux/serial_core.h
> @@ -401,6 +401,9 @@ uart_handle_sysrq_char(struct uart_port 
>  #endif
>  	return 0;
>  }
> +#ifndef SUPPORT_SYSRQ
> +#define uart_handle_sysrq_char(port,ch,regs) uart_handle_sysrq_char(port, 0, NULL)
> +#endif
>  
>  /*
>   * We do the SysRQ and SAK checking like this...

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

  parent reply	other threads:[~2005-09-08 21:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-08 15:52 Serial maintainership Russell King
2005-09-08 16:38 ` Alan Cox
2005-09-08 16:25   ` Russell King
2005-09-08 19:35     ` Andrew Morton
2005-09-08 16:27   ` Linus Torvalds
2005-09-08 20:13     ` David S. Miller
2005-09-08 20:22       ` Russell King
2005-09-08 20:26         ` David S. Miller
2005-09-08 20:39           ` Linus Torvalds
2005-09-08 20:42             ` David S. Miller
2005-09-08 21:22               ` Linus Torvalds
2005-09-08 21:26                 ` David S. Miller
2005-09-08 21:31                 ` Russell King [this message]
2005-09-08 21:37                 ` Linus Torvalds
2005-09-08 20:31       ` viro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050908223152.E19542@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=akpm@osdl.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=davem@davemloft.net \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox