From patchwork Sun Dec 6 07:39:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clement Smith X-Patchwork-Id: 338966 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D06DC4361B for ; Sun, 6 Dec 2020 07:40:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 327722333E for ; Sun, 6 Dec 2020 07:40:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725879AbgLFHkX (ORCPT ); Sun, 6 Dec 2020 02:40:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbgLFHkW (ORCPT ); Sun, 6 Dec 2020 02:40:22 -0500 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3BAFC0613D0; Sat, 5 Dec 2020 23:39:41 -0800 (PST) Received: by mail-pg1-x541.google.com with SMTP id n10so6310052pgv.8; Sat, 05 Dec 2020 23:39:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qfMlRUVz5l7XVnc/HFInF5rSPBCWYyUgC3VCNT+TRWQ=; b=sl7tPaYtWuJtN4a02jewnPtACMGAgfca/itbB7j5yGS6l6p12/agrLhqB+LnoTH4EU VXUeR2dCsxgSEECjQ0YBTDIJlxRA8dEi0eY3YV0zPB76OQyhOhFzJOb4EQA8E6oYOcY9 venDmOcHboGd+UqZukFY9tKpPUImm+ALbrJz66toLW/t5lJt+T5k5AYLzyze6ieqm+vi vdof9DuXg+RP8cX/1D27XhBes9XkrGvEdyks4/rqwis3oBFUlcnOh/qn043kndUAtrxx J5j7D0mJmThQzfyfuVLGcU6vJiwvmycXC9bZ7jCXK8odmzN8eNJcY13gI40Uc89VZ5p/ VRpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qfMlRUVz5l7XVnc/HFInF5rSPBCWYyUgC3VCNT+TRWQ=; b=jegscwTw8RQeBqoXMxVxEy+y0IK9EbeoIZM4mK+JfDsfZpIsTfGH8KWbwpNKvKQDCj tw30MCuA5ER2splrqgNHcijctmQE1ZUgBuOJ2TEPVFk6rKf9jazA9lw8ruoX3BFQPffO dkXQCt5jTGwNs0sy+I3/ZW4HqbSX5D3iEAUGwAz+NlntZEd7ut2h7otevixHHBiDspT8 zAVrR98A8VWIxaxzvNBwnhdMBr3KjzcL1jETrb3YLEODNxDrU3jqjXjcN+BtMRGYJopZ 17Cjhw27Wtv0FbHaFjFl+l8iKWwtpTxXyrA9FQyADxQHHHgWVs6tcnlxcTD8ft25Vu0N w/ng== X-Gm-Message-State: AOAM530xCVy/O+GkQ+WZsN8g5Ek+QXQpBc+wZn/+dXqBFPzM2Aeiqzh6 GhmLEtkXGh84S8O1nOM5tcA= X-Google-Smtp-Source: ABdhPJx4vTPoVDjjto5SxXJBsbNYSt6P4giSe/+q7gxvUTKUAQE7jOG4M/WxfOmF/mhKK8HZ9iT2Rw== X-Received: by 2002:a62:b417:0:b029:18b:8c55:849f with SMTP id h23-20020a62b4170000b029018b8c55849fmr11068305pfn.27.1607240381271; Sat, 05 Dec 2020 23:39:41 -0800 (PST) Received: from localhost.localdomain ([2405:201:e004:f092:5562:8d65:7204:31e]) by smtp.gmail.com with ESMTPSA id mz1sm4101275pjb.33.2020.12.05.23.39.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 23:39:40 -0800 (PST) From: Clement Smith To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Clement Smith Subject: [PATCH 1/8] tty: serial: jsm: Fixed file by added more spacing Date: Sun, 6 Dec 2020 13:09:25 +0530 Message-Id: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 689774c073ca..512b77195e9f 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -607,7 +607,7 @@ void jsm_input(struct jsm_channel *ch) * Give the Linux ld the flags in the * format it likes. */ - if (*(ch->ch_equeue +tail +i) & UART_LSR_BI) + if (*(ch->ch_equeue + tail + i) & UART_LSR_BI) tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_BREAK); else if (*(ch->ch_equeue +tail +i) & UART_LSR_PE) tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_PARITY); From patchwork Sun Dec 6 07:39:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clement Smith X-Patchwork-Id: 339456 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19D64C433FE for ; Sun, 6 Dec 2020 07:41:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D9A6422D2A for ; Sun, 6 Dec 2020 07:41:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725867AbgLFHki (ORCPT ); Sun, 6 Dec 2020 02:40:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbgLFHkb (ORCPT ); Sun, 6 Dec 2020 02:40:31 -0500 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02798C0613D1; Sat, 5 Dec 2020 23:39:45 -0800 (PST) Received: by mail-pg1-x544.google.com with SMTP id q3so6339934pgr.3; Sat, 05 Dec 2020 23:39:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iXEd1mw4OixI5+E3VPtVjvelJMnMwujO4qOIvYeoJBY=; b=QHmd/IWOZp8JTofSo/sgmRoIzVnX7SwBmhkNKvE1I/XMW40VSbDvbiPP+NdWw0WqYU dCO8MRzEyRlbMFCnfHxU2FY0w7IU6H/FC6FTgbM8RYZq6tMenLONN/CJC2JFjZFfxJbi j2fLRoJGK6dEP1lbNssCiGCQoW58b+9rkGy+b4hiHT7ndNVE4wULZVH6u/Xd8eYPKUc5 0SWh3co4DArHu6QMwH95SKiev6bwTQ7pfYdeG/gRS+dYDoqlrs5rOdmUYdWSfQopsQqD Qp57CCZQWIksdjTGCv0N7u5PWSb2M6XeyvHFJ8spIh12d/Ib93TSKxSXxGmBewdtrY0Q wG0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iXEd1mw4OixI5+E3VPtVjvelJMnMwujO4qOIvYeoJBY=; b=G6MDBDyxgJ7CHw7z4IA967nU8m2BbAAX0vT2d75TIx/2RVgggrS6yjg9O/FwBuxbZE frMRpCQKmuRHGIDqvAb3Eh2IMGThxIqo43jwCqn8pHs9bS/X6ZB/kuBfbTix8GRZGg6Z Ea5p8x5zKOCCLRG76lskbqZAf3MrRKBRPC7GG+JEMS5uE8cDTSGFQkucVX6DTovcDbf6 tMPkx1GSNi/zz8qokUvSqeyEdMkuQnEPi30JJfIIbhNmgO6L9L4WlB+lIoBobSq2bHBM CuY6ULiAAfSjvDW3O4FiNtKQ7xlIODSHv4qd8OQIDhmyEjM2xIxzaW2+/VXSz7WVHi0T ND8g== X-Gm-Message-State: AOAM532usxcD18Rmzc2dmc0XqUfslyQ7b0aNB3UDAUroik4GZykBo2J8 FO7/VTDiMZpHaBRWz/AyEg8= X-Google-Smtp-Source: ABdhPJzFoLseQ1mp5uPRtBIffBQghrATj5HBe0uhF6E+8LX7QUqvl0wuopop4uA8CeXRD5mmkJutVA== X-Received: by 2002:a65:4c01:: with SMTP id u1mr14243590pgq.35.1607240384317; Sat, 05 Dec 2020 23:39:44 -0800 (PST) Received: from localhost.localdomain ([2405:201:e004:f092:5562:8d65:7204:31e]) by smtp.gmail.com with ESMTPSA id mz1sm4101275pjb.33.2020.12.05.23.39.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 23:39:43 -0800 (PST) From: Clement Smith To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Clement Smith Subject: [PATCH 2/8] tty: serial: jsm: Fixed file by added more spacing Date: Sun, 6 Dec 2020 13:09:26 +0530 Message-Id: <1d21fbfef601dc400cb0d50ec2ee1e85dc3b6f91.1607240285.git.rclemsmith@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> References: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 512b77195e9f..202d6ba93313 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -608,7 +608,7 @@ void jsm_input(struct jsm_channel *ch) * format it likes. */ if (*(ch->ch_equeue + tail + i) & UART_LSR_BI) - tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_BREAK); + tty_insert_flip_char(port, *(ch->ch_rqueue + tail + i), TTY_BREAK); else if (*(ch->ch_equeue +tail +i) & UART_LSR_PE) tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_PARITY); else if (*(ch->ch_equeue +tail +i) & UART_LSR_FE) From patchwork Sun Dec 6 07:39:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clement Smith X-Patchwork-Id: 338965 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1061C1B0D9 for ; Sun, 6 Dec 2020 07:40:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BEBA82312F for ; Sun, 6 Dec 2020 07:40:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726068AbgLFHkf (ORCPT ); Sun, 6 Dec 2020 02:40:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbgLFHkd (ORCPT ); Sun, 6 Dec 2020 02:40:33 -0500 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C811CC061A4F; Sat, 5 Dec 2020 23:39:47 -0800 (PST) Received: by mail-pj1-x1041.google.com with SMTP id b5so1755256pjl.0; Sat, 05 Dec 2020 23:39:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xFdWkIp7aOum4emNi0OOIEbmbd4iIkziHrDfP7ddmnE=; b=kRGVIffG8D3UGQqG35RnXGKoRVMU21ND00hzs7S/u7fdx1CjZM3cQzRD11CclN4hJn 3A2XIWwugO30sUeZNSJUWN8cVLK8kFP76I7ERgyBiLqWi/ThpbNIxpo4gHhjQHGhylCx 6cKjSTDYzH5b77hH3SX5UD3jWsbDqydDI2XRZyZY9WunHY1WA+z+3+LT114txaDKAOm/ ZbEBlEJ6HZ7EENbkcxBKKLwz6Afyq2NAs/skqNq5RaK2QtzFcR1wUKj+vH92hYrqJB2N eRMPYcWXYMu7Sah3LT6lCo+RKVpXeGChapQ03NmqU3uDCX0zPWv4z/hWUctpyD8qWC8C EoHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xFdWkIp7aOum4emNi0OOIEbmbd4iIkziHrDfP7ddmnE=; b=tzzp/cDryu13YZweQ9RVjq3KOIh34WSQYUbv4sucQWVLwBXbUk73NR9WOstJNFXloV tawkFyvmlblyRdFcCIzlUFcbUwye2LxjGdcg7/lIVobT06tMo46IeiHYo/GjyUiY6lDd 0wGNEKwEpa/Y66yn06epjw3qX8lqI7XahBcVt4gI5tzKr0i4Ce8uaDOqvLSrIROJhGWZ +JLdLYzRIv/9aWcVOs7Yb4/HBk+N1cU9y95Su2npuMYqNhltTAWnQVoTrwQwkddm/aN0 8m/jmCzIVBlN3khkXmyMX4GIaK4lPxEIqXZSBQfGjrU6IYAgzQoAFH3qqWybds4URMtq Ztnw== X-Gm-Message-State: AOAM532bihwsyo9j1bRU2q2bHGKQW2CCu3UnVHertQ4boQ4MF1TqYDWh Ao2hxzCtFbJJY0X9Ox6DF+uppDPpcyMoBZYf X-Google-Smtp-Source: ABdhPJzsk2FRvN9Xwo8rM65HTj0D47qJnjthRY26EQ+zg6dTd4Mx0ogwChMOKL6uMAaUYPSs/aZsuw== X-Received: by 2002:a17:902:e98c:b029:da:cb88:f11d with SMTP id f12-20020a170902e98cb02900dacb88f11dmr11057996plb.17.1607240387295; Sat, 05 Dec 2020 23:39:47 -0800 (PST) Received: from localhost.localdomain ([2405:201:e004:f092:5562:8d65:7204:31e]) by smtp.gmail.com with ESMTPSA id mz1sm4101275pjb.33.2020.12.05.23.39.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 23:39:46 -0800 (PST) From: Clement Smith To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Clement Smith Subject: [PATCH 3/8] tty: serial: jsm: Fixed file by added more spacing Date: Sun, 6 Dec 2020 13:09:27 +0530 Message-Id: <07dcca2606fe86253d14ad47c17044281a319295.1607240285.git.rclemsmith@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> References: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 202d6ba93313..2bc5f32e59f4 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -609,7 +609,7 @@ void jsm_input(struct jsm_channel *ch) */ if (*(ch->ch_equeue + tail + i) & UART_LSR_BI) tty_insert_flip_char(port, *(ch->ch_rqueue + tail + i), TTY_BREAK); - else if (*(ch->ch_equeue +tail +i) & UART_LSR_PE) + else if (*(ch->ch_equeue + tail + i) & UART_LSR_PE) tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_PARITY); else if (*(ch->ch_equeue +tail +i) & UART_LSR_FE) tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_FRAME); From patchwork Sun Dec 6 07:39:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clement Smith X-Patchwork-Id: 339457 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A81D7C4167B for ; Sun, 6 Dec 2020 07:40:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7665E2333D for ; Sun, 6 Dec 2020 07:40:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726023AbgLFHkb (ORCPT ); Sun, 6 Dec 2020 02:40:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbgLFHka (ORCPT ); Sun, 6 Dec 2020 02:40:30 -0500 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 924E2C0613D4; Sat, 5 Dec 2020 23:39:50 -0800 (PST) Received: by mail-pf1-x444.google.com with SMTP id w6so6884796pfu.1; Sat, 05 Dec 2020 23:39:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QkPyiFVzu7toVtUF/9i50V7n7tt3DwLwvbOtSyVqwVQ=; b=eORvqZkq9Fm4UlHvILVjiZSFZ8cCczsB9EiAu92uTM0gxWy6E3uS5ciEvqzGvGAoAN A77z+SvArxEZS652RKheOA1OkTLeg5b8Hb1phMSj0MF6uQED1cqYZYCj1+BWzDYWOZOH 0B5puwl81YjkAm2scpq75vQVIp05VJZjMAjz6Geyi6mVoZWlGew0yEYP684e9smMjYwZ mnrWJsFBuOm4wmYMvqqcAvwVmIe4J1FQyFQwXi7AMnIpS50jSRd8Z4U6wX6cGsT1eDL8 n6u5tJZFxjewYSngCMxeFhJadE6iJBFNmoo4TzJKsgxPa/FFIQntosmaNZifedFj/FM6 5U7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QkPyiFVzu7toVtUF/9i50V7n7tt3DwLwvbOtSyVqwVQ=; b=nEdgSTR37J13ef2yhaOFREhWixo87kIoCmhC7NWM1e6mBZ6TR7CF5nvpG6ihgWynlX mrWMgC1wXcUR1TxBEXFkAKJytIzH9OuAPOZ81Uzkarmrz8gCcH/Uh3IZ4ZON/svgLOy6 7j9/oASBRynHJHVMUyvKKuVgi+xg9X+oXla71XSmZxuhAp5124gsh3ZN/BCgreqO+/Hq S5FPfKJncKE7ELA0zmwbpOhKxNvQPFBekQXch1uGfkoLRiSif4JQg1HyKgM1KV2Bbv0U L/VnOoVBuIu1lvgJ5iJ0L9WtYS9hyy+p0ljRoKRWlwVxiNpHTMCfaD3Vd+LAq809fM2Y ROrw== X-Gm-Message-State: AOAM533UaU3Bb2J/jQOZkt8WbmuLtobblDI600V48nhbBxGqxFoEUEMt NauQcB0dHR8zv6dz7TGD/vY= X-Google-Smtp-Source: ABdhPJyEwMpaKGjCzNsJdYwQZ6SbfbHTk6fWQP7Dn6e60/dAI+wqNJdV5m751nVnmOql1p44nxmK2A== X-Received: by 2002:a05:6a00:228a:b029:18b:212a:1af7 with SMTP id f10-20020a056a00228ab029018b212a1af7mr11046992pfe.55.1607240390160; Sat, 05 Dec 2020 23:39:50 -0800 (PST) Received: from localhost.localdomain ([2405:201:e004:f092:5562:8d65:7204:31e]) by smtp.gmail.com with ESMTPSA id mz1sm4101275pjb.33.2020.12.05.23.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 23:39:49 -0800 (PST) From: Clement Smith To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Clement Smith Subject: [PATCH 4/8] tty: serial: jsm: Fixed file by added more spacing Date: Sun, 6 Dec 2020 13:09:28 +0530 Message-Id: X-Mailer: git-send-email 2.27.0 In-Reply-To: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> References: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 2bc5f32e59f4..45e212be64c4 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -610,7 +610,7 @@ void jsm_input(struct jsm_channel *ch) if (*(ch->ch_equeue + tail + i) & UART_LSR_BI) tty_insert_flip_char(port, *(ch->ch_rqueue + tail + i), TTY_BREAK); else if (*(ch->ch_equeue + tail + i) & UART_LSR_PE) - tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_PARITY); + tty_insert_flip_char(port, *(ch->ch_rqueue + tail + i), TTY_PARITY); else if (*(ch->ch_equeue +tail +i) & UART_LSR_FE) tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_FRAME); else From patchwork Sun Dec 6 07:39:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clement Smith X-Patchwork-Id: 338964 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42BF4C4167B for ; Sun, 6 Dec 2020 07:41:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1A7B5230FB for ; Sun, 6 Dec 2020 07:41:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726181AbgLFHkk (ORCPT ); Sun, 6 Dec 2020 02:40:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbgLFHkj (ORCPT ); Sun, 6 Dec 2020 02:40:39 -0500 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3090C061A51; Sat, 5 Dec 2020 23:39:53 -0800 (PST) Received: by mail-pg1-x541.google.com with SMTP id w16so6312449pga.9; Sat, 05 Dec 2020 23:39:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lMPmWSEOQ1z0fknG64q8QyO+7zYlcRHZONwvF2A6vQk=; b=OkrffRsdhwyArvWisoecfH2zS9ougNcLpyR5w+5KoFSgvFzWuAbbE8VDFCZHK17+/l Hr0iunQTiucCe6OFkPjXlmES8AniyNGTlFKWOtgX62uZc8TtjiRRzLuStQBLEZrYYu+o teIIERMxTMfmmfh5bUcIWTN7GgWjl+3g1G3l8WI241a8bgHX1444htwFLMQGNfAP1XPq cYhm6GmCPNl2mpZyhrFb3rcHQrSmBoiFZmoVdxvKnuaMNGJh00XYMIPGlSgDgynupOcM it4V/M9JpzV2t/0ls1UPmDjdQ7oJMhckdFcjRlQPd+IVUT5seZZXzDQ5+4+B/wj8v+cB tKNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lMPmWSEOQ1z0fknG64q8QyO+7zYlcRHZONwvF2A6vQk=; b=G4QFV6NqOezM5OGv2WS+8EJNGR2BcXHEVpUFdLK20VPDYMBcCbqNKxSvmGmDYzW4EE oBsOWYejzmdF+SraEPPp7fVOL/sZD9gpvaY/3hr89RSxaNlpyoheQAvCsULZ2tzeVXiJ 2XWLnf21Ix2KR1XTYRRaUzBgx55X2BcFQamoVuFhyZKqNH/7q8Ma8bbdHwgXUOqBoun6 IOS0BJCrf+hN/smFLZgqYcPyY/MVYB7fQjQEtf4/UbKyuKw5yU/Fl/lq26PQU+bmW9aU gTDe0pYVRjeo+26EhJopnyBRZ+Y6WiDbnJ4hjFnFF7eR4jj09WRZK/73UIYy4pOBg9iy KBGQ== X-Gm-Message-State: AOAM5315AZLp8Sf0ib2UMG57n0mkW8LrPO9ORwSRjQuojsb0XCfy2dpf sgwlRYdnXXIlolftDMv96Ug= X-Google-Smtp-Source: ABdhPJzrX/7c04bcqSazUKxRyycGF7HkZlZgqOKrPVst4vWqXZM4WjOg6YMs2gNIDJ41vimIVY/oSg== X-Received: by 2002:aa7:92c7:0:b029:197:e36f:fc5c with SMTP id k7-20020aa792c70000b0290197e36ffc5cmr11453400pfa.62.1607240393254; Sat, 05 Dec 2020 23:39:53 -0800 (PST) Received: from localhost.localdomain ([2405:201:e004:f092:5562:8d65:7204:31e]) by smtp.gmail.com with ESMTPSA id mz1sm4101275pjb.33.2020.12.05.23.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 23:39:52 -0800 (PST) From: Clement Smith To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Clement Smith Subject: [PATCH 5/8] tty: serial: jsm: Fixed file by added more spacing Date: Sun, 6 Dec 2020 13:09:29 +0530 Message-Id: <5c83d324feea2f9b54eca7c184716a2bf4d3b4b0.1607240285.git.rclemsmith@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> References: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 45e212be64c4..75c9bfa5077c 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -611,7 +611,7 @@ void jsm_input(struct jsm_channel *ch) tty_insert_flip_char(port, *(ch->ch_rqueue + tail + i), TTY_BREAK); else if (*(ch->ch_equeue + tail + i) & UART_LSR_PE) tty_insert_flip_char(port, *(ch->ch_rqueue + tail + i), TTY_PARITY); - else if (*(ch->ch_equeue +tail +i) & UART_LSR_FE) + else if (*(ch->ch_equeue + tail + i) & UART_LSR_FE) tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_FRAME); else tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_NORMAL); From patchwork Sun Dec 6 07:39:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clement Smith X-Patchwork-Id: 338963 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48730C433FE for ; Sun, 6 Dec 2020 07:41:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 189EB22D2A for ; Sun, 6 Dec 2020 07:41:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726340AbgLFHlJ (ORCPT ); Sun, 6 Dec 2020 02:41:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbgLFHlI (ORCPT ); Sun, 6 Dec 2020 02:41:08 -0500 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B40EC061A52; Sat, 5 Dec 2020 23:39:56 -0800 (PST) Received: by mail-pj1-x1043.google.com with SMTP id f14so5555472pju.4; Sat, 05 Dec 2020 23:39:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mY730pQY4f7hiiZSJZ1dsvBjTccfJ3EnnECf6jd+G5Y=; b=gs3+8c8u/dELkNCuiK2EBzgoemJ/rweOmDg84xp/ocAouzuMBL/HCwUaz5MXuxAb0j dkE2nhwnabXGk6iz3qU5nCTAkmtMDoicDZYZ+mdy/gyeEgmqMfGVi82h8MCGHsAi1/HH 3boWTZ5adhQnvD9PYvDUx8uxk5bk2RNL8Au3iRD9b5dimebYbglI4Cx0fT8//3qOgZBt IwXwjFnf+r3Wo6NliOxHUBrr236R/np1/JkK7k0he3V9fa3g4JYuO3YZrnjyv5VVGWDy acTq701sRTtFrA2m2S5bajxbmVsfMgfywvuUc/kOe72ssiIYW7H/SAC/YOYICNq55c/0 p9fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mY730pQY4f7hiiZSJZ1dsvBjTccfJ3EnnECf6jd+G5Y=; b=f50lPVaM/cu95hxNoeH9ZK7TuFIw1TvJa6cjzCOQ0tyT1P3uXiGoaGe/bQDU1n3Ocn 3VvCW9lL+AU9veoyCgQwbIrF7CI5UUcVa5hZBRcXMeiAl1oBm2qI3yH5/h0lCH57+yDe EBCPKm1/UBsTyCy5XMIS419HQGb+2meRHDJ9YnBjZPCBzg3K+NoIiMZNBqHieH6vmp6x 2DaRsOHR7yKicvT1vhu7Qf0apfJ77seG1aXlEAUL1bJpGqxGuD6y7giIV4jaXoNKX+2M 0i+k7kQTfcA0T15pTKufDUQyrX4rGdaIpfobVRNuFYeEcHTw8XRC79weC/bgLlUX2qZ3 1rgw== X-Gm-Message-State: AOAM530DC9OVCc6mRhpb9zOHT2F5KXT/u00Zy17VDgLoSKaGxvn1npMh ZHturdGWqYobt0SnY7O4ddORpPcXZ6/SaP2q X-Google-Smtp-Source: ABdhPJx/5Q+koM2NmdK4AIEPu2cayjT6ALuoCv+QDxlf7pvd7QBCPJ5WjaYwl9Ie49c2mIfbGOKP2g== X-Received: by 2002:a17:90a:a393:: with SMTP id x19mr11948356pjp.68.1607240396107; Sat, 05 Dec 2020 23:39:56 -0800 (PST) Received: from localhost.localdomain ([2405:201:e004:f092:5562:8d65:7204:31e]) by smtp.gmail.com with ESMTPSA id mz1sm4101275pjb.33.2020.12.05.23.39.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 23:39:55 -0800 (PST) From: Clement Smith To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Clement Smith Subject: [PATCH 6/8] tty: serial: jsm: Fixed file by added more spacing Date: Sun, 6 Dec 2020 13:09:30 +0530 Message-Id: X-Mailer: git-send-email 2.27.0 In-Reply-To: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> References: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 75c9bfa5077c..19d2f0bc6c10 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -612,7 +612,7 @@ void jsm_input(struct jsm_channel *ch) else if (*(ch->ch_equeue + tail + i) & UART_LSR_PE) tty_insert_flip_char(port, *(ch->ch_rqueue + tail + i), TTY_PARITY); else if (*(ch->ch_equeue + tail + i) & UART_LSR_FE) - tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_FRAME); + tty_insert_flip_char(port, *(ch->ch_rqueue + tail + i), TTY_FRAME); else tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_NORMAL); } From patchwork Sun Dec 6 07:39:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clement Smith X-Patchwork-Id: 339455 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C7ABC1B087 for ; Sun, 6 Dec 2020 07:41:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 35FE122D2A for ; Sun, 6 Dec 2020 07:41:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726237AbgLFHlD (ORCPT ); Sun, 6 Dec 2020 02:41:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbgLFHlD (ORCPT ); Sun, 6 Dec 2020 02:41:03 -0500 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CE52C061A53; Sat, 5 Dec 2020 23:39:59 -0800 (PST) Received: by mail-pj1-x1041.google.com with SMTP id e5so5568289pjt.0; Sat, 05 Dec 2020 23:39:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=M6RV3FaJwoXsg1iWqHQxcdc2D0CuomR4lDom9lAMu1g=; b=L6FE4bWRCKpP4T55wxxE16AH+IEv2+qOstT9C9gMneUqQvzOHqUOfe7cSl8w/VECsG s7CICivyuGuQ/6ZJDayf9U6kVBFU9w9jioe5SWBgCQoB5I95j9KsePZS0AnS8/BAvMBP zbKB4uL0T3fU0xKGwKqYIwGElmA+VaeV2wpb1SoAjszdhTFzA+JA6OyVuYNTC9YaMkWo 8JNfHjHQDoVOZkwt7MujYkgRGREr5M9KOfoFfOPARUDEokm16LGrbHpO7scBTVk+1Ocz THVS2GcOTIzt4NVgqXpA4NxKQOomSnTZC4egmu+QrYEbbmv0lRyli+118NrMRHtoewb+ g3KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=M6RV3FaJwoXsg1iWqHQxcdc2D0CuomR4lDom9lAMu1g=; b=DipDpXSv8lKOWe1mImSL4hImhmPhoh6VN4N7laX81mI2NMCS2xdJODypR306/Ate5G 7JV3/aGzpv91sa8ucl+cXCCt62ksrgAlHJqSbxNMwDTUveY3NrljQMFJJXsGy9GobQly j0qYU2kjRhEwXYH9TdL6Q3GDBi0SZyeVS+HYUq/7cJkWx67JngbfHez67KTKdSZhyG7I rBHP53sz4j3pHeLqEGaAO+s0GtLOcyVm3c8Ab0syHGdz7LwMW/DcfpUXWArUBSssee48 CWYLhtR/jIXIpfBuivhm+JEjCsubnpjCDmek2d4AbWrx5NNhYaPLcRIDmg3yWUwxzJpP crDw== X-Gm-Message-State: AOAM533LmBWo+2nF1DrcabHW/W9pTTch6+e189xhTI7diwgi5rxaEnRF AwSi7FsOTkOYM3Yb2pUxe7g= X-Google-Smtp-Source: ABdhPJzRTdqnk4fMGn4CaHD0DoH+gHEWLcPHI7wozeDTKhHL3xKgMzK5CO+UnsU8xxdASJVBosI+zQ== X-Received: by 2002:a17:902:868a:b029:da:ea50:d55f with SMTP id g10-20020a170902868ab02900daea50d55fmr2608768plo.84.1607240399091; Sat, 05 Dec 2020 23:39:59 -0800 (PST) Received: from localhost.localdomain ([2405:201:e004:f092:5562:8d65:7204:31e]) by smtp.gmail.com with ESMTPSA id mz1sm4101275pjb.33.2020.12.05.23.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 23:39:58 -0800 (PST) From: Clement Smith To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Clement Smith Subject: [PATCH 7/8] tty: serial: jsm: Fixed file by added more spacing Date: Sun, 6 Dec 2020 13:09:31 +0530 Message-Id: <7a6ccaa7711d5e94b75797121e7f642ae7d38308.1607240285.git.rclemsmith@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> References: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 19d2f0bc6c10..eab82fb6b384 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -614,7 +614,7 @@ void jsm_input(struct jsm_channel *ch) else if (*(ch->ch_equeue + tail + i) & UART_LSR_FE) tty_insert_flip_char(port, *(ch->ch_rqueue + tail + i), TTY_FRAME); else - tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_NORMAL); + tty_insert_flip_char(port, *(ch->ch_rqueue + tail + i), TTY_NORMAL); } } else { tty_insert_flip_string(port, ch->ch_rqueue + tail, s); From patchwork Sun Dec 6 07:39:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clement Smith X-Patchwork-Id: 339454 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C986C19425 for ; Sun, 6 Dec 2020 07:41:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4A77F230FB for ; Sun, 6 Dec 2020 07:41:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726377AbgLFHlM (ORCPT ); Sun, 6 Dec 2020 02:41:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbgLFHlL (ORCPT ); Sun, 6 Dec 2020 02:41:11 -0500 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2307C061A54; Sat, 5 Dec 2020 23:40:02 -0800 (PST) Received: by mail-pf1-x443.google.com with SMTP id q22so6852338pfk.12; Sat, 05 Dec 2020 23:40:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Q/fZnwmILAVwVRxmPc3BHj+xLD6tYNXImx9x9q0Upnw=; b=ZAx7M6wWmDzPZG3EX7H+qQsDujWgHIPCKeoIVHntI2zdDNgbI1itIEnpRLS5NffHm9 /xc4gO+Kf/OMj9uzbr5aNGif6Omn/PH0PCJdU/SwngX7ay4roXdNIT7BFiNq+A4KP+tK LhMT0DnR3Rk7EEdG8HlMm3uLf/bKTC5NM5si8Ihj0HOs9ei9xahlqHHY3adEhcG8ZJyZ TLGVAWz2TByTT6Pha/qPrrwKbqHBrk+yZQ9/dahX9gkmtBbto8gjWkkkDDiP53OsV18D PZXFljFKNp91Lu6yQQmF0BQXPftUkvH9G0EyfVTK0k/ycQ/my/RpjRXEG9kBgtO9+Y12 x9Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Q/fZnwmILAVwVRxmPc3BHj+xLD6tYNXImx9x9q0Upnw=; b=tHdQeKYCLcs293rLDViMPxZw+3hIJk6ZiZYd/f0X4CgQ1oE7K4l2zX41vLVO8w3EVR v3GDHUeqDJuG+9v04X3A0fX5U0tFUElTRekuTK8F0h4YrGjZp2JdW6SFOYld3cjbqfZZ +xiEoHA72b5iyZV9BzJy6vvpQw1aF6RgCoOwZN/hDPRYJOZQmfKxXTacaAQkkb6/cCJH lQSO+TrB8n91n19lR27OaUOSwZ+3M47VkSQG3vStto9lpEUn44AvlHOmNnNibK70C0iE quRKq5mx5oDWkBvVd6K1HAh4fpgXGZLOi3jsQZm6JKR9XOUnWToBG9KGZ3dnyIb3KI7x XXeQ== X-Gm-Message-State: AOAM530rw11PrSAqJNtqa7jKT4SuFSaxVhdMoNQYZRisRkFbTSRswBIE 7an8AbwCHGN96GhoUMOgdJI= X-Google-Smtp-Source: ABdhPJyAp3OZKwpgywPLKMgjKPVNgtCjt6bYS9NrbsD4aMwQsD80ubg5hhhiwgMeuQlWusBH6yFotg== X-Received: by 2002:aa7:963c:0:b029:19d:dcd3:b2ae with SMTP id r28-20020aa7963c0000b029019ddcd3b2aemr3605310pfg.76.1607240402253; Sat, 05 Dec 2020 23:40:02 -0800 (PST) Received: from localhost.localdomain ([2405:201:e004:f092:5562:8d65:7204:31e]) by smtp.gmail.com with ESMTPSA id mz1sm4101275pjb.33.2020.12.05.23.39.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 23:40:01 -0800 (PST) From: Clement Smith To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Clement Smith Subject: [PATCH 8/8] tty: serial: jsm: Removed assignment in if statement Date: Sun, 6 Dec 2020 13:09:32 +0530 Message-Id: <818b6f6e0a0fb31dbde5ac778501ae287781ea5f.1607240285.git.rclemsmith@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> References: <0d1fde4c82ce4b9f20f5d1ae2c6b34314f9d9942.1607240285.git.rclemsmith@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index eab82fb6b384..bfd4b55e6c74 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -742,7 +742,8 @@ void jsm_check_queue_flow_control(struct jsm_channel *ch) int qleft; /* Store how much space we have left in the queue */ - if ((qleft = ch->ch_r_tail - ch->ch_r_head - 1) < 0) + qleft = ch->ch_r_tail - ch->ch_r_head - 1; + if (qleft < 0) qleft += RQUEUEMASK + 1; /*