Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3839588rdh; Tue, 28 Nov 2023 05:25:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IGU+NjL0E5YY0Tg9/n53W8UOj+gF27sLlourQ5LzkachL5g5A1Tvk7Cq0p2i0H9Q3O97CGD X-Received: by 2002:a05:6830:3a15:b0:6d8:2991:9b01 with SMTP id di21-20020a0568303a1500b006d829919b01mr6448708otb.26.1701177947418; Tue, 28 Nov 2023 05:25:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701177947; cv=none; d=google.com; s=arc-20160816; b=CZ6dJuCDQZzzWTW/jkL8iO4uEiqIJ1aH6f9LImDm2hVmu/jyFa6RJYFkeou60aPwMV mfUqPLseTRDmsTt6ujBTA7ivI8nDfULcSrd392ATMQaIlBmm8k5KxKRaiciKIU0BHVUb x8GDiX7yWAm/BIjgD2Z3dkhVcH33nmedC663kWrQXkq8RjUiQGgkosSOmBsEEKRIy2nY jXh1CT0gd1oYQ1SF2/qs7BqlQDN0lZiWMhEh7VoNvXBbaf4lPHE1uiEFX9C8idYREWIo SUaO7Oqrnbv+0IYWZbxeCqNuTKwljymk5szsj7KACdaUrRJvWP0ZFiJXAH5DpcfLpQAk GmFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=PN5GoxorxQrpewvIYxo2EAaU0LkEj2li0eyewiMllO4=; fh=wRzJjN4XoCrNtFC7J3mmlkP2Tbz0iH7IlxXe+WLNxLE=; b=HyXcMMbTbmAwx9MslV6WlPa9MgF6sI/WP2s7xwLWxLfBqe+hqQxsjr2GybQHIca01P lkjWm/0lShPbB7dKMk5A04n97gTdKEu6MwlkkCbanREYZpCd1IpnTXyNOYpIL+blxujt ps9TPFKTDXtbZX8f+kpnkR6oTuTK/4vIX1woXYfwsucIjeoXqY/HtTJA/1ZEbIxcfvda e1pTbcbIHNx3fK2jEAHDsHDocPMh7mXYE8WIa9VR3YdlufLNQRQoA1cVYhbD2JP1LO1J bUVrqIPSjXO56ni+lqPUFAJj7fwnBMm/teUYr1n2vRQpP97876g2T5Nvtd740tisABtJ /ItA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="T/O4yKjG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id l12-20020a65680c000000b005b3b889619asi11894987pgt.606.2023.11.28.05.25.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 05:25:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="T/O4yKjG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 3F44B80BEDEF; Tue, 28 Nov 2023 05:25:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344875AbjK1NZa (ORCPT + 99 others); Tue, 28 Nov 2023 08:25:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345106AbjK1NZ3 (ORCPT ); Tue, 28 Nov 2023 08:25:29 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFF6D182; Tue, 28 Nov 2023 05:25:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701177935; x=1732713935; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=v5kZeBtVjhn/s8XidixV9girh/5AonY7gkwyCtvwHsE=; b=T/O4yKjGp2LKmEUs4pqIndGMBqEKVTGSq+xLQK8XIErFkYHloPxn/oX1 2ALh2hyqqrZf+ZVrrH67hzB2BvCLum1VM0cquDxqt+QnKwzwmcjp+oTlM MCgD0HEFrvB/vGJdWhAtjhsEygQYI7pvlEYPqJgM1ZIQpUK6D2m8WzvRe cL6GS7qyf+qdrr6133b+H04F/rofhswHQ67Fv5KlV9TyJ6l0w3YpbMbFs ThJnIF8nwxoBRIXQ1plhTrRaS5qVEIhkXD0dpZ31h8U4hyASZ1XKEA0wl LZ8+OdsZ6HgOzSyjydbve2I0veFPY5Upp5GLQhwNFOKDd0sLio+MueH4l Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="459428739" X-IronPort-AV: E=Sophos;i="6.04,233,1695711600"; d="scan'208";a="459428739" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2023 05:25:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="718383128" X-IronPort-AV: E=Sophos;i="6.04,233,1695711600"; d="scan'208";a="718383128" Received: from haslam-mobl1.ger.corp.intel.com ([10.252.43.79]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2023 05:25:32 -0800 Date: Tue, 28 Nov 2023 15:25:30 +0200 (EET) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: "Jiri Slaby (SUSE)" cc: Greg Kroah-Hartman , linux-serial , LKML , Richard Henderson , Ivan Kokshaysky , Matt Turner , linux-alpha@vger.kernel.org Subject: Re: [PATCH 2/5] tty: srmcons: make srmcons_do_write() return void In-Reply-To: <20231127123713.14504-2-jirislaby@kernel.org> Message-ID: <203edefa-a819-23cc-1697-7e60a6732f83@linux.intel.com> References: <20231127123713.14504-1-jirislaby@kernel.org> <20231127123713.14504-2-jirislaby@kernel.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-5569259-1701177935=:1797" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 28 Nov 2023 05:25:45 -0800 (PST) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-5569259-1701177935=:1797 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Mon, 27 Nov 2023, Jiri Slaby (SUSE) wrote: > The return value of srmcons_do_write() is ignored as all characters are > pushed. So make srmcons_do_write() to return void. > > Signed-off-by: Jiri Slaby (SUSE) > Reviewed-by: Richard Henderson > Cc: Ivan Kokshaysky > Cc: Matt Turner > Cc: linux-alpha@vger.kernel.org > --- > > Notes: > [v2] reordered so that it makes sense > > arch/alpha/kernel/srmcons.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/alpha/kernel/srmcons.c b/arch/alpha/kernel/srmcons.c > index b68c5af083cd..de896fa9829e 100644 > --- a/arch/alpha/kernel/srmcons.c > +++ b/arch/alpha/kernel/srmcons.c > @@ -88,7 +88,7 @@ srmcons_receive_chars(struct timer_list *t) > } > > /* called with callback_lock held */ > -static int > +static void > srmcons_do_write(struct tty_port *port, const char *buf, int count) > { > static char str_cr[1] = "\r"; > @@ -125,7 +125,6 @@ srmcons_do_write(struct tty_port *port, const char *buf, int count) > need_cr = 0; > } > } > - return count; > } > > static ssize_t > Reviewed-by: Ilpo J?rvinen -- i. --8323329-5569259-1701177935=:1797--