Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8012940rwb; Tue, 6 Dec 2022 12:48:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf64kctcZpuCohkskg6dWe5Z+ANsrS5Jxh0bAK12+MPRGmt6kE9W1vaY4HPY6ZMU5Lk5ag+v X-Received: by 2002:a63:1054:0:b0:42b:9219:d14e with SMTP id 20-20020a631054000000b0042b9219d14emr61905491pgq.176.1670359726052; Tue, 06 Dec 2022 12:48:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670359726; cv=none; d=google.com; s=arc-20160816; b=hcLCoGMX/kvgGiny8F29cia9pekXuLRFtPU/Ruue9OBw2wigFOiJSYkSgXSwyAS6d8 nriCpZnDV8dcUZlch551B5/Y9z8gOoGxZysT6grpn7UzpgHksXhDn8TBLIO3G+9SRnsN 4Dc0xlsxAJpocMSByzNZBbx/OHfyhVK7Fpu1FJ/v1yGiMjOgyvsyk4AN+0n47fJHUXum r7zKgnfsbdUuCy27gJ3DgyCiqnOxY1YpnU2gEHlsil45RWwZIx7SINOLgHM/In3VXEDj fwzI/YkAa2K9z+eskCqkKadM/8R58gtRcbQdUix3zVIWMcNgePw+pRCGJzHpmqkYM9pH u98A== 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-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date; bh=IprWR10+kgtDYeZiRYhzpY25EzyHbn2IO8j//pFeJhc=; b=pddPusdQwQmDcVlT8ps2Ca4jiMyegkrcyh+dxH3yyPijuJBV9SqEGgkdzDSRF9m7Uz WH1+1qzbH3p6kb3UGaTBE563c6xaRY/Fahb7OOOEkCFeSI2/t2tar8Nn0yzJJz/gvx1M qBTYXyAGEO7DO/QniWbk6lpexBwLm6kjWlk6VxFjTOwoQVleCEpaKecxx5HpZOaz6FAr 5YxdCD8PZOwFlaHfDjTf9gokuzSDfEx3/pJPOb/sqfU4dNg6gUkTKoUwyFtiW8m788+4 M3BBxe1tDm/GQS9Gs2wwhcyXThp3IR0B/cBWfi37c2ur3uyNd7WYU/OYyt86bbzMnE0H weTQ== 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 jc18-20020a17090325d200b00174eef66680si17706457plb.120.2022.12.06.12.48.35; Tue, 06 Dec 2022 12:48:46 -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; 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 S229497AbiLFUj4 (ORCPT + 78 others); Tue, 6 Dec 2022 15:39:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiLFUjw (ORCPT ); Tue, 6 Dec 2022 15:39:52 -0500 Received: from sonata.ens-lyon.org (domu-toccata.ens-lyon.fr [140.77.166.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DA05140CE for ; Tue, 6 Dec 2022 12:39:51 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id 77BAE20100; Tue, 6 Dec 2022 21:39:47 +0100 (CET) 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 HrqFwejXt_gf; Tue, 6 Dec 2022 21:39:47 +0100 (CET) Received: from begin (unknown [46.231.241.247]) (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 361E3200FB; Tue, 6 Dec 2022 21:39:47 +0100 (CET) Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1p2ejD-009Hcj-0v; Tue, 06 Dec 2022 21:39:47 +0100 Date: Tue, 6 Dec 2022 21:39:47 +0100 From: Samuel Thibault To: Jiri Slaby Cc: Greg Kroah-Hartman , 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: <20221206203947.5yifmkntf4uy7lt6@begin> Mail-Followup-To: Samuel Thibault , Jiri Slaby , Greg Kroah-Hartman , kbd@lists.altlinux.org, linux-kernel@vger.kernel.org References: <20221205000739.583233140@ens-lyon.org> <20221205000807.751605665@ens-lyon.org> <27ade063-79df-dad9-0427-e16f1ddb43ef@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <27ade063-79df-dad9-0427-e16f1ddb43ef@kernel.org> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,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 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. > What does this 'height' refer to? It was meant to be vpitch actually, I will fix it. Samuel