From patchwork Mon Dec 15 14:13:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 5493011 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 40D7B9F1D4 for ; Mon, 15 Dec 2014 14:14:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 85AB7209F9 for ; Mon, 15 Dec 2014 14:14:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C1E6620A03 for ; Mon, 15 Dec 2014 14:14:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752542AbaLOON7 (ORCPT ); Mon, 15 Dec 2014 09:13:59 -0500 Received: from mail-pd0-f174.google.com ([209.85.192.174]:62804 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751800AbaLOON6 (ORCPT ); Mon, 15 Dec 2014 09:13:58 -0500 Received: by mail-pd0-f174.google.com with SMTP id fp1so11756114pdb.33 for ; Mon, 15 Dec 2014 06:13:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=klWPKMReoJnZ4K2t+Tpao5u4zbWn/fqU69qFY6THKfI=; b=jq2MVzh/8HBeJmDL4y9m6qOsLkunThIQRU9qFnrGbl7GhnBK+24dSLJYVFFBWBv0sG lQ5vmpfPzB9mPePUFP2MnTRhaCrKVVQiPvL3bEe8xeyi4ir+iWKpkoIJCtpeF13m8GyV srfCYR2+igBgZhPRcr/xOGv/8pQqnwKNy44Vqj+o7yxFhv7gptDcf4grSxfx4AcNt2CT n17USrMBw1J5fkn5pxcHicOHwYRFOyFbgmHvpGgJbaZWhS7GqVFwy2V3NjleJHzgeseW PJqqyxl0OJf1+lCewPND67xxep6uiwYlgXNPyrJ+oIKZriROMHKGO4kwKyndv2NKmE1X Hh0w== X-Received: by 10.68.239.196 with SMTP id vu4mr40998495pbc.163.1418652837035; Mon, 15 Dec 2014 06:13:57 -0800 (PST) Received: from localhost.localdomain (KD118152108246.ppp-bb.dion.ne.jp. [118.152.108.246]) by mx.google.com with ESMTPSA id j9sm9418280pdl.72.2014.12.15.06.13.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Dec 2014 06:13:56 -0800 (PST) From: Yoshihiro Kaneko To: linux-serial@vger.kernel.org Cc: Greg Kroah-Hartman , Simon Horman , Magnus Damm , linux-sh@vger.kernel.org Subject: [PATCH/RFC] serial: sh-sci: Remove overrun message Date: Mon, 15 Dec 2014 23:13:13 +0900 Message-Id: <1418652793-6770-1-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hisashi Nakamura Since the driver cannot return from overrun error if characters are output during overrun process, the error message of overrun is removed. Signed-off-by: Hisashi Nakamura Signed-off-by: Yoshihiro Kaneko --- This patch is based on the tty-next branch of Greg Kroah-Hartman's tty tree. drivers/tty/serial/sh-sci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index fccebbd..fe2bb08 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -858,7 +858,6 @@ static int sci_handle_fifo_overrun(struct uart_port *port) tty_insert_flip_char(tport, 0, TTY_OVERRUN); tty_flip_buffer_push(tport); - dev_notice(port->dev, "overrun error\n"); copied++; }