Message ID | 20230104152444.3407-1-sensor1010@163.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp5205146wrt; Wed, 4 Jan 2023 07:34:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXttvv+qda9Zs5njt7mlM35BggxrrUAW9Oh4BBUGAnyrc8R8eQFkTovIgh+USpnSviMFw0aK X-Received: by 2002:aa7:db91:0:b0:484:9e05:b356 with SMTP id u17-20020aa7db91000000b004849e05b356mr37810139edt.27.1672846471615; Wed, 04 Jan 2023 07:34:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672846471; cv=none; d=google.com; s=arc-20160816; b=dOOHk8I4zvdzYxH9I2Fq7aSU93NHdrOewjGn8izTDnQQlkEr+k8WjwWicjY2vTwoE3 DIfNCQa8ryWhSWoToxFFzHGLlNxkgX8c9D9eJe+sCN+LZsg6TQSFozoUIJwmRdgP2Fip 2RTOxCJR5VRCvcdzb3yI5TcuzHhjY2eLaRpcTfrWZ76OXoo3np+HmwtUJ6I/CH3lm/iP w6qx/1FdQnLOxEMrgd/1NPCctTLhX6nzehYCe4xf17E5u+9blFloGooqSONUeYVouqL/ b1zWkv/4B3E1TnEiwp1LCbHX4i2ntdTvwrGWCXR3md+6V57BUCQ4BQU0cujEIKSLbJ0D Rhmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=xHX97vFou7CZnafP0EzQLsxSqdqEy43T2DctXuby9FQ=; b=0IrVhmPj19YjxaQ0pnd/NOGPIJhaiRbmcWvH91MuuRB9MbaM/3aFXi5klozq4SDAiS nAi512xaqIsADlul8g6VRO2vOIf3ack1oyz0H7lVOireQ+esi6x1N07N+d+LOtphpzU0 wAllZ/xWCwwibK0mQc+nIDpzsXhNIm531b5tpeTlVAh+J6bfSYajMIvhk6bm+DejzYLe UmPBlvclX/pcm89REMqtgxS/gvXthFoXSxqMMbepyNTLFh1ojFf8oDpy3iafVEKm7lRB payH/itB01+wF9SCpfUcLAVOXGvwnQumPTaQtsXAYD5Y6BgSpw58Ap6BxTwNLCk6c/re wiTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=JQ2YOVyQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a05640242c600b0045ad02bb8fbsi36014018edc.290.2023.01.04.07.34.05; Wed, 04 Jan 2023 07:34:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=JQ2YOVyQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235077AbjADPZn (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Wed, 4 Jan 2023 10:25:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbjADPZm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 4 Jan 2023 10:25:42 -0500 Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 699CF2AF4; Wed, 4 Jan 2023 07:25:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=xHX97vFou7CZnafP0E zQLsxSqdqEy43T2DctXuby9FQ=; b=JQ2YOVyQoEAK/rmg8+RQPGkMHF0KuzkKI/ MTcJ+75oDWfAzuOrL9kYHSCYsplXO+Tkoh+UOb86CjVEEPwCXJ/DGcqWlRJYgbTD fRG+R1yyPdn8xKCHZ/qp6H6uZ4c1xk2QijmPnAxDzLkkIxFHC7EK6Ofs3UbmXX1R QxCqv5O4Y= Received: from localhost.localdomain (unknown [36.4.209.174]) by zwqz-smtp-mta-g0-0 (Coremail) with SMTP id _____wBHo5g9mrVjhjNwAA--.49442S4; Wed, 04 Jan 2023 23:25:16 +0800 (CST) From: lizhe <sensor1010@163.com> To: gregkh@linuxfoundation.org, jirislaby@kernel.org, ilpo.jarvinen@linux.intel.com Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, lizhe <sensor1010@163.com> Subject: [PATCH v4] serial: linflexuart: remove redundant uart type assignment Date: Wed, 4 Jan 2023 07:24:44 -0800 Message-Id: <20230104152444.3407-1-sensor1010@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: _____wBHo5g9mrVjhjNwAA--.49442S4 X-Coremail-Antispam: 1Uf129KBjvdXoWrtw4rAw47XF48Cr17XFy3XFb_yoWfGrX_ur 1DA34xWr10kFWakFnrtFyYkr9agFs5ZF48JF10qa9aqw4DZw4rXryxXrZrurnrJw48Zry7 G3y7Jr12yrnrXjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xRM5l8UUUUUU== X-Originating-IP: [36.4.209.174] X-CM-SenderInfo: 5vhq20jurqiii6rwjhhfrp/xtbBogPsq1aEHDuKVAAAsN X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754106661421774625?= X-GMAIL-MSGID: =?utf-8?q?1754106661421774625?= |
Series |
[v4] serial: linflexuart: remove redundant uart type assignment
|
|
Commit Message
Lizhe
Jan. 4, 2023, 3:24 p.m. UTC
in linflex_config_port() the member variable type will be
assigned again. see linflex_connfig_port()
Signed-off-by: lizhe <sensor1010@163.com>
Link: https://lore.kernel.org/all/20230103170948.3777-1-sensor1010@163.com/
---
drivers/tty/serial/fsl_linflexuart.c | 1 -
1 file changed, 1 deletion(-)
Comments
On Wed, Jan 04, 2023 at 07:24:44AM -0800, lizhe wrote: > in linflex_config_port() the member variable type will be > assigned again. see linflex_connfig_port() > > Signed-off-by: lizhe <sensor1010@163.com> > Link: https://lore.kernel.org/all/20230103170948.3777-1-sensor1010@163.com/ > --- > drivers/tty/serial/fsl_linflexuart.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c > index 6fc21b6684e6..34400cc6ac7f 100644 > --- a/drivers/tty/serial/fsl_linflexuart.c > +++ b/drivers/tty/serial/fsl_linflexuart.c > @@ -837,7 +837,6 @@ static int linflex_probe(struct platform_device *pdev) > return PTR_ERR(sport->membase); > > sport->dev = &pdev->dev; > - sport->type = PORT_LINFLEXUART; > sport->iotype = UPIO_MEM; > sport->irq = platform_get_irq(pdev, 0); > sport->ops = &linflex_pops; > -- > 2.17.1 > Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - It looks like you did not use your "real" name for the patch on either the Signed-off-by: line, or the From: line (both of which have to match). Please read the kernel file, Documentation/process/submitting-patches.rst for how to do this correctly. - This looks like a new version of a previously submitted patch, but you did not list below the --- line any changes from the previous version. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/process/submitting-patches.rst for what needs to be done here to properly describe this. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Wed, Jan 04, 2023 at 11:48:24PM +0800, lizhe wrote: > > > > HI : > 1 . > I'm Chinese, lizhe is my name, and my email is sensor1010@163.com , > How to express real name? Your full name that you sign documents with? If so, great, but odds are there is a capital letter in there, right? Or just use your Chinese name, that's fine too. thanks, greg k-h
On Thu, Jan 05, 2023 at 12:45:02AM +0800, lizhe wrote: > HI : > thanks. Modified to LIZHE Why? Again, why not just use the proper Chinese characters that you use to sign your name with in documents in your country? And again, please do not top-post. Nor send html-formatted emails... thanks, greg k-h
diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c index 6fc21b6684e6..34400cc6ac7f 100644 --- a/drivers/tty/serial/fsl_linflexuart.c +++ b/drivers/tty/serial/fsl_linflexuart.c @@ -837,7 +837,6 @@ static int linflex_probe(struct platform_device *pdev) return PTR_ERR(sport->membase); sport->dev = &pdev->dev; - sport->type = PORT_LINFLEXUART; sport->iotype = UPIO_MEM; sport->irq = platform_get_irq(pdev, 0); sport->ops = &linflex_pops;