From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9C91EB64DD for ; Thu, 27 Jul 2023 20:46:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231836AbjG0UqG (ORCPT ); Thu, 27 Jul 2023 16:46:06 -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) 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);