Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758206Ab1DYJhh (ORCPT ); Mon, 25 Apr 2011 05:37:37 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:43556 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758140Ab1DYJhg (ORCPT ); Mon, 25 Apr 2011 05:37:36 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 From: KOSAKI Motohiro To: KOSAKI Motohiro Subject: [PATCH 2/3] m32r: fix spin_lock_irqsave() misuse Cc: kosaki.motohiro@jp.fujitsu.com, LKML , Andrew Morton , Hirokazu Takata , linux-m32r@ml.linux-m32r.org In-Reply-To: <20110425183810.268B.A69D9226@jp.fujitsu.com> References: <20110425183810.268B.A69D9226@jp.fujitsu.com> Message-Id: <20110425183908.268F.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.56.05 [ja] Date: Mon, 25 Apr 2011 18:37:34 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1096 Lines: 35 spin_lock_irqsave() require unsigned long. fix it. Signed-off-by: KOSAKI Motohiro Cc: Hirokazu Takata Cc: linux-m32r@ml.linux-m32r.org --- drivers/tty/serial/m32r_sio.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/tty/serial/m32r_sio.c b/drivers/tty/serial/m32r_sio.c index bea5c21..84db732 100644 --- a/drivers/tty/serial/m32r_sio.c +++ b/drivers/tty/serial/m32r_sio.c @@ -907,9 +907,10 @@ static int m32r_sio_request_port(struct uart_port *port) return ret; } -static void m32r_sio_config_port(struct uart_port *port, int flags) +static void m32r_sio_config_port(struct uart_port *port, int unused) { struct uart_sio_port *up = (struct uart_sio_port *)port; + unsigned long flags; spin_lock_irqsave(&up->port.lock, flags); -- 1.7.3.1 -- 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/