Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp490256rwb; Wed, 7 Dec 2022 00:54:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf6I6Xnr8KsyWBYokqyINMIMNcyFf72oaMmuA/r6882w9V2j9n9cQFr0FF7BaHYOFFPN/sm8 X-Received: by 2002:a17:906:a387:b0:7bc:2ad:7c1e with SMTP id k7-20020a170906a38700b007bc02ad7c1emr50001130ejz.588.1670403264099; Wed, 07 Dec 2022 00:54:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670403264; cv=none; d=google.com; s=arc-20160816; b=eqxbR9m5EzxpIMs7Wepnzhc2h4xrHq29jLvNmgvtyyCCuEYpXUgKDdpD9HdcbOigWI F3Dv4AkCHC/GawUI1wevrZKD4nO2a/i3IhvQKxS2HVp9ttT0T6xImLJyfSur0/h7off1 8X0MKiX1TfjIAo2g25SJxpwIojl9vNdcWA+hB7Dj04wIwJNi1PGW5vgyvHh2MDL8jTRI mXnGvrRv4ee7s1z4e1Cxwv1oahZKjumP76Yma0F4aWyGEr/Dca6MUXjK/FoATf0xonaA 7YEclilcb2/bSD03P5S5Oj1xqFMm0IPTlbRycJPwR1b6IurrknyPAMp+TyWyh7tRFPpT u0YA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bwCgJw/4x9Fa2MR9otNCpzdbFNRpo6B20aVmUbzgL8U=; b=F52K2akDFegak0jeiopxTA/DzAjWrzyaZu6MvG2mMmxvoqEkXYE2prl6susb/rq3IS nubfDoM2bY5xgGcADjRuKXD28WpPzE/uYNpFpG+EoZHvwug+rnbyHMd5VTndUgS8MsR5 tKM1i1RbCv4dVwtJATBI3L0DCgUhPS4gPfv5BiLid7bL0rAISdzTEqMfNLOhTe/VLTnz HDs/T44gzQWKeha5OTbY8FSwjUQqmI/gWQSZSIyL5bHrf9HSEuSnzESavucYW+B8L2Fr iaZshh1utKaVQx6XvhgHQoLA5SuUB+VXS9ahp885h72A9bjnAMYvE/BzBwtRU8q7BapX IMCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gZGIe60F; 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 w17-20020aa7cb51000000b0046cee3b0cc3si3684567edt.371.2022.12.07.00.54.05; Wed, 07 Dec 2022 00:54:24 -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=@linuxfoundation.org header.s=korg header.b=gZGIe60F; 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 S229660AbiLGIV0 (ORCPT + 76 others); Wed, 7 Dec 2022 03:21:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbiLGIVZ (ORCPT ); Wed, 7 Dec 2022 03:21:25 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D3C16576 for ; Wed, 7 Dec 2022 00:21:24 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id ED349B815D4 for ; Wed, 7 Dec 2022 08:21:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 453F2C433C1; Wed, 7 Dec 2022 08:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1670401281; bh=AHYARf/KLi6/VS3V2qrLnnBM6L3OOASJ3QfbNSJr3v4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gZGIe60FWKXP45dBXICPi7LeOroY6MUvczqbZPpmq6lSJAK4VPWND04yyHI0Yb7Uh SOIfA8o9Qc6g1DtF5JGJAYNoO2o5ZiVbKk25gzRtGa7G2lVGqOo0xadjhjmxib97r/ DnZwJSXcI12HjJPRHr0Ad/twnSiAc7SSnNbfWjhM= Date: Wed, 7 Dec 2022 09:21:18 +0100 From: Greg Kroah-Hartman To: Jiri Slaby Cc: Samuel Thibault , kbd@lists.altlinux.org, linux-kernel@vger.kernel.org Subject: Re: [patch 1/3] VT: Add height parameter to con_font_get/set consw operations Message-ID: References: <20221205000739.583233140@ens-lyon.org> <20221205000807.751605665@ens-lyon.org> <27ade063-79df-dad9-0427-e16f1ddb43ef@kernel.org> <20221206203947.5yifmkntf4uy7lt6@begin> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 07, 2022 at 08:39:18AM +0100, Jiri Slaby wrote: > On 06. 12. 22, 21:39, Samuel Thibault wrote: > > Jiri Slaby, le mar. 06 d?c. 2022 07:40:30 +0100, a ecrit: > > > On 05. 12. 22, 1:07, Samuel Thibault wrote: > > > > --- linux-6.0.orig/drivers/usb/misc/sisusbvga/sisusb_con.c > > > > +++ linux-6.0/drivers/usb/misc/sisusbvga/sisusb_con.c > > > ... > > > > @@ -1268,7 +1271,7 @@ sisusbcon_font_get(struct vc_data *c, st > > > > } > > > > /* Copy 256 chars only, like vgacon */ > > > > - memcpy(font->data, sisusb->font_backup, 256 * 32); > > > > + memcpy(font->data, sisusb->font_backup, 256 * height); > > > > > > Have you tested this? > > > > Ah, no, I had assumed that this was for a specific arch. But actually I > > wasn't getting it because it depends on BROKEN. > > Hmm, for two years... I will remove the con support completely next week if > noone beats me to it. If you do it this week we can get it into 6.2 :)