Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp369301rwb; Thu, 27 Jul 2023 14:10:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlEqnYQ4paA2f7NrBI7dBpUzJRvxlg0HIjELNzQxtDbCC7+bOSu8WbLOxyRerZ5Wn0RSUHx2 X-Received: by 2002:a17:90a:e00f:b0:268:6b9:c7ab with SMTP id u15-20020a17090ae00f00b0026806b9c7abmr329561pjy.48.1690492247489; Thu, 27 Jul 2023 14:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690492247; cv=none; d=google.com; s=arc-20160816; b=e/3dQ04KOmwfspNgMtBHiosL6KcCKAy+k17pArqOa63R8o1CFFgBYI3nOthV2GMFit dJvbQU+wy9MGklxIFEDlHumaiv22YIVS8mBUhvtGgzwkPLFxS6hWT7LF394zIYgVOVjv 7eRgrSukDMnqd47sbkl3pEv24rRoLqJfKQxUwcphbE+eMYID7kJRrTR7ovmrH2XJesWb /CFfxleJP0YSL1v2qkEQCRFCXbinHUlzYoc5mWmfgCqBt7/d4+poXfQ4btWh8fMyprsq dHLfBj8IwDBTGlys9CLwXGnHP6zp7z24XAEQxigfsizW8metSyraf8tZMyV78qRz70F6 aOLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:organization:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=OWpg19BRtT3pxvYzbJxQ7h95a3AovGJGhoGySyoXkkI=; fh=YYJj2w4eJ+mDcGnL97KmFdRFMoDyXkPLuT6Li62f7po=; b=ce8OBi1+dBnLIOVHKr3H3Giw2QB23YOrRLGNKCwB35iQFEQHjEXeJQemzmaVc41OvS n9uy9v7ru7nWc4UYkhRcftL3NCIFaOlmfjxAD/PmVELcHRIVnPe5+MxI6tosKSjfOecP Gap9KvuvwYlbvInsrrAfm3Comx2X1A+7PNWG2HHT5UoQvS1EDFxokYR+YM4tumRcdnRE mtili6n9F/u50KevvNj+zPZoctNYGMxvBRbYfDLaSQtfu+BZVMbjPr3g1AIOpA+v0HUl 3xYP/hn4a4ZzkDc9/Dq5Dy6Aa1ce36DvGE4sLIwk30+BHQhE3f1N+sUeLJC3bOV9lFqA NAkw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l20-20020a17090aec1400b0025c287f697asi1859190pjy.35.2023.07.27.14.10.36; Thu, 27 Jul 2023 14:10:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231415AbjG0UqF (ORCPT + 99 others); Thu, 27 Jul 2023 16:46:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbjG0UqF (ORCPT ); Thu, 27 Jul 2023 16:46:05 -0400 Received: from sonata.ens-lyon.org (sonata.ens-lyon.org [140.77.166.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 975FDF5 for ; Thu, 27 Jul 2023 13:46:03 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id D9724200E6; Thu, 27 Jul 2023 22:45:55 +0200 (CEST) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ncy_lJg80Nmi; Thu, 27 Jul 2023 22:45:54 +0200 (CEST) Received: from begin (125.170.185.81.rev.sfr.net [81.185.170.125]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id C64C1200E4; Thu, 27 Jul 2023 22:45:53 +0200 (CEST) Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1qP7rZ-00685J-1R; Thu, 27 Jul 2023 22:45:33 +0200 Date: Thu, 27 Jul 2023 22:45:33 +0200 From: Samuel Thibault To: oushixiong Cc: Greg Kroah-Hartman , Jiri Slaby , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , Daniel Vetter , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] tty: vt: Fix spelling typo in comment Message-ID: <20230727204533.jf6ezvfairj64n7j@begin> Mail-Followup-To: Samuel Thibault , oushixiong , Greg Kroah-Hartman , Jiri Slaby , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , Daniel Vetter , linux-kernel@vger.kernel.org References: <20230726091044.705393-1-oushixiong@kylinos.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230726091044.705393-1-oushixiong@kylinos.cn> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 oushixiong, le mer. 26 juil. 2023 17:10:43 +0800, a ecrit: > Signed-off-by: oushixiong > --- > drivers/tty/vt/vt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c > index 1e8e57b45688..bcdd249e47a0 100644 > --- a/drivers/tty/vt/vt.c > +++ b/drivers/tty/vt/vt.c > @@ -3473,7 +3473,7 @@ static int __init con_init(void) > INIT_WORK(&vc_cons[currcons].SAK_work, vc_SAK); > tty_port_init(&vc->port); > visual_init(vc, currcons, 1); > - /* Assuming vc->vc_{cols,rows,screenbuf_size} are sane here. */ > + /* Assuming vc->vc_{cols,rows,screenbuf_size} are same here. */ ? No, this is really meant to be "sane" here, i.e. they are not getting checked, and just used as they are. > vc->vc_screenbuf = kzalloc(vc->vc_screenbuf_size, GFP_NOWAIT); > vc_init(vc, vc->vc_rows, vc->vc_cols, > currcons || !vc->vc_sw->con_save_screen);