From: David Miller <davem@davemloft.net>
To: julia@diku.dk
Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
sparclinux@vger.kernel.org
Subject: Re: [PATCH] drivers/serial/sunsab.c: adjust the constant used to initialize the interrupt_mask0 fields
Date: Tue, 16 Mar 2010 00:34:10 -0700 (PDT) [thread overview]
Message-ID: <20100316.003410.232587710.davem@davemloft.net> (raw)
In-Reply-To: <Pine.LNX.4.64.1003121816500.3043@ask.diku.dk>
From: Julia Lawall <julia@diku.dk>
Date: Fri, 12 Mar 2010 18:17:13 +0100 (CET)
> From: Julia Lawall <julia@diku.dk>
>
> SAB82532_ISR0_TCD is declared in drivers/serial/subsab.h as relating to a
> status register, while SAB82532_IMR0_TCD is declared in the same file as
> relating to a mask register. The latter seems more appropriate for the
> interrupt_mask0 field, and follows the strategy for initializing this field
> elsewhere in the same file.
>
> Both SAB82532_ISR0_TCD and SAB82532_IMR0_TCD have the same value.
>
> Signed-off-by: Julia Lawall <julia@diku.dk>
Applied, thanks Julia.
I'll add some entries to MAINTAINERS so that you know to
CC: sparclinux for these sparc serial drivers in the future.
>
> ---
> drivers/serial/sunsab.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c
> index d514e28..d2e0321 100644
> --- a/drivers/serial/sunsab.c
> +++ b/drivers/serial/sunsab.c
> @@ -474,7 +474,7 @@ static void sunsab_stop_rx(struct uart_port *port)
> {
> struct uart_sunsab_port *up = (struct uart_sunsab_port *) port;
>
> - up->interrupt_mask0 |= SAB82532_ISR0_TCD;
> + up->interrupt_mask0 |= SAB82532_IMR0_TCD;
> writeb(up->interrupt_mask1, &up->regs->w.imr0);
> }
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2010-03-16 7:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-12 17:17 Julia Lawall
2010-03-16 7:34 ` David Miller [this message]
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=20100316.003410.232587710.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=julia@diku.dk \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.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
all inboxes | Powered by JetHome®