Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5801693rwb; Tue, 1 Aug 2023 08:06:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlH2EeGoctpt6wF3isM1tDpmv57h/ISfwdxtipIJBnEl+IPd2kzNkLe9GL5a+QgEkWELhDnc X-Received: by 2002:a17:902:e542:b0:1b6:6f12:502e with SMTP id n2-20020a170902e54200b001b66f12502emr16311574plf.49.1690902405254; Tue, 01 Aug 2023 08:06:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690902405; cv=none; d=google.com; s=arc-20160816; b=H6+Y1GW1dmUNerZ03iLiHKHln7tF2gOFPyvLjdVVl9+gxIjkc5FR3jdlvYht5MQIjl U2aoy7MwuG0JkyX1ONoOMUxFHyZY+p+3ayPxYK8NkCSwGEnhnfHdIuAyqQ6JvSA7G1T0 u1VNsEReD8QlOs0h8d2vq02/yi2kg8bvfDPaDH909fmFLuw9fyd/oGcciSvhWkhESF/M 58z+MHtVexREBOo86+yN17L5LrWSqAqx7PLB+ulWsbJuv1pwzXumfI14kFxWlhWVzf3q 7KBkSZrFdN6wQ7ZIfSE7LLyk+SvQ8OTSSoQX9wkjaZynfu2xf+76MGI8QarD86knvIOE uF3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TJuh4e1B11sZ4bd8zB+9pm4D5Ibmyx/5aBqxs7H9T98=; fh=wPI2Drbb8hgjTRLO5HoVhRhe6VLCP0TrvGYv66ewOBg=; b=HtbUgngZ+kMA5Nr7a8nX06KFfNbUA9kM8c7fR7tuFvta7qzuc27UKivT7093ECqTAw GI8V/Dtvit31ySmovMmT5OdKFtn6QjP+niIpvLtTfFGfPH97n46dk5heHuXuh489YlAd JD9iysN49B1cGB26ueoaBBianwPrUOwM0MWgyExXMXE+GcNGnFyPQkXIXj6aXsximcrR 01gyvxJ5g3Z6kMrypapG3opyY5AnENlzqUxiWMZWlRildgsTLZtB4whYB8fZmFEQiJMr NfYbJtcxKwNlPbc1epvtxTnsoGRGHtBZbXrxzaGxv9FUu3SMFDmNcM7x3WMQjiVeOPjy v6Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=v6HzGR7i; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l2-20020a170902f68200b001bb7b3e6078si4591978plg.574.2023.08.01.08.06.24; Tue, 01 Aug 2023 08:06:45 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=v6HzGR7i; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234071AbjHANXy (ORCPT + 99 others); Tue, 1 Aug 2023 09:23:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234064AbjHANXw (ORCPT ); Tue, 1 Aug 2023 09:23:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09594198B; Tue, 1 Aug 2023 06:23:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 884BB61592; Tue, 1 Aug 2023 13:23:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6884CC433C7; Tue, 1 Aug 2023 13:23:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1690896229; bh=5q/CMepqEmFV80SLOi54Dgdhh+HQuHJoSqdQhC4cuYI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=v6HzGR7itk/BVX7PNS6dpsRIXsD4RuE8WPspCdvfLqWQM2aXPdujXuO+ApDOuzBGw M5CGNVonoCQlYO8m50FnewczAY9BU6dpL/WF+wY6iFiklSXzh4jW8OL+2kr1dYcUVg Ey26dMf+5tkTd2OFkqCJSiOkXTW1XHFETP85BsR8= Date: Tue, 1 Aug 2023 15:23:46 +0200 From: Greg Kroah-Hartman To: oushixiong Cc: Jiri Slaby , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Samuel Thibault , Daniel Vetter , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v2] tty: vt: Remove some repetitive initialization Message-ID: <2023080103-yearling-backfire-4875@gregkh> References: <20230801115724.1428952-1-oushixiong@kylinos.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230801115724.1428952-1-oushixiong@kylinos.cn> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 01, 2023 at 07:57:24PM +0800, oushixiong wrote: > > Members vc_col???vc_rows and vc_size_row of the struct vc_data have been Odd ??? characters? > initialized in visual_init(), so it no longer to initialized them again > in vc_init(). > > v1->v2: > - Fix the comment. This needs to be below the --- line, right? > > Signed-off-by: oushixiong > --- > drivers/tty/vt/vt.c | 16 ++++------------ > 1 file changed, 4 insertions(+), 12 deletions(-) thanks. greg k-h