Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2967834rdb; Tue, 13 Feb 2024 02:56:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFT0Wn97YPov9h25UqxGmkZrYNPQdTb+6qGVHtSqhGxz0GvQKpo8nrdYGyY7MzbF1hfq/j X-Received: by 2002:a17:90a:d707:b0:296:545e:ffb1 with SMTP id y7-20020a17090ad70700b00296545effb1mr5477014pju.14.1707821795950; Tue, 13 Feb 2024 02:56:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707821795; cv=pass; d=google.com; s=arc-20160816; b=LdfcKUcb0xuXRqkfMgrjXknuPFzpBmQStBihROvyDj5A/GRuQa8rdd/NjhQhjHVDbY /CWvexBrwU20EHPpTMmiqofvFbaBcJU4n1anMKsGPQpgObDa8xKgPEb1QWxzP/uC90Tl LBKF7SkLq/MugsLgPiquz4/fssExNrQxvBNEU/REAUeVtKCVT5Z22+i0NwQMIi5l1Pzl 3N86VCwcMl/qS8wFT14qkfobvOW84Rgf5lg/vdw/LgQcf5txpbMuMj8tWeMOIBMgnuuY Rfd5Nyl4r8iiMdExpl7vIFL58kzFsLulLCE5EHSXATx6/JXhi/OTvhZlWWnsuO8GFIZ5 PnpA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=U6sw6/b7Wo9TPD1nNjD1SdrmI2VZciuOyU4cyudmr0U=; fh=knE9Eu3Xeofjw7PhsvQsh+MACWDcJtryChlV21IyARk=; b=a3A/pwHm6Atsg2hcocI/6XEihfm9+GndcYmU1Rd4SHE8WtqDxw2fCjaoTwfAV6ZjsH 6HoRy82JrU0P0Fcr+Epj11Nfk153+EnDtNh7MH6ny+McAFE950Q2uk9QKht6tHVDc+SG 4qrj4pVoxaUylEz0yIEu++7SX+o3zUTyEygeltxoahJrTN91NPYkzFruJigxDtfPuTeM iNLhd5JEPOJxVXgfaps03xsvIVvOmyn7SJYQjwjcK20CiIAWFct1y0h7P+jrff8rt3FB 2S3k+qPt27rzUgrcEatCaPy6pPqn3SLK2c3gOx1BFq+i6x5jLz0WETirk1+DkUdyOr2m bFcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@protonic.nl header.s=202111 header.b=wnGlKvIv; arc=pass (i=1 spf=pass spfdomain=protonic.nl dkim=pass dkdomain=protonic.nl); spf=pass (google.com: domain of linux-kernel+bounces-63379-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63379-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCX1CC3jahLwcL9Z/XpDVluE2zwLGlbCjACHyadzB3p86HNHwgLTzvA5B3ztFWUXsdn/0dELzwgb2+S7Y/2jyFnZUpgaC0P8ACML1g3tKA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id kb14-20020a17090ae7ce00b00296fa2e3b26si1911724pjb.3.2024.02.13.02.56.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 02:56:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63379-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@protonic.nl header.s=202111 header.b=wnGlKvIv; arc=pass (i=1 spf=pass spfdomain=protonic.nl dkim=pass dkdomain=protonic.nl); spf=pass (google.com: domain of linux-kernel+bounces-63379-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63379-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CEDB228657B for ; Tue, 13 Feb 2024 10:55:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 871312BB08; Tue, 13 Feb 2024 10:54:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonic.nl header.i=@protonic.nl header.b="wnGlKvIv" Received: from smtp15.bhosted.nl (smtp15.bhosted.nl [94.124.121.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3B55250E5 for ; Tue, 13 Feb 2024 10:54:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.124.121.26 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707821691; cv=none; b=Dqg9rE2y6p1Chz3EGmvnCihUcldnEsAoavmyoObAylQ7dN2eM+WQUDKNHynjhTUdBrDD37sg6Wykkmjk4rnDc/2YkaoRcSp1y8f1kK1FdZV0HhfQ3fMTDBdhlYBm4fuKQVhRGv8yib3VZZygbT0uRWl0UIpo0yDxJdAegHHlZLE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707821691; c=relaxed/simple; bh=U6sw6/b7Wo9TPD1nNjD1SdrmI2VZciuOyU4cyudmr0U=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SzuXOO7fUrkilnu2Uz9vIBrkS/VZet76+FKDAaGPEhke193Q/Vnd74bjdiyHBnEJPzyggKrXYnTudkAGzCMxat4314GEigiafUMlXAYLMuXt4rDFbHPmuWeuMVAbZHpNIa8/pu1hXgpY5mjDPdbELKUw5oEpXj1fuYf5dg5lsk0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=protonic.nl; spf=pass smtp.mailfrom=protonic.nl; dkim=pass (2048-bit key) header.d=protonic.nl header.i=@protonic.nl header.b=wnGlKvIv; arc=none smtp.client-ip=94.124.121.26 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=protonic.nl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonic.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonic.nl; s=202111; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to: message-id:subject:cc:to:from:date:from; bh=U6sw6/b7Wo9TPD1nNjD1SdrmI2VZciuOyU4cyudmr0U=; b=wnGlKvIv1slYWYzQEBrWd562FM3Cqqr5ngwXuAMN/Pw3ciXu4VaGQzCANZyelSPIw8xFujzEjfx26 u6EkCmTWAaVxZ/MUyThc7tWsWjBdQV2EHCgF604wYcKONqNgflwU/EVke6/QQthE/z1NGlxNaImDFa i57TTXbj+rQ6n0OHl1n+GYi3VweVVYj78CDX4L1VegvH2056Dmk4nYWEJMqLaYHDcegzrJ9VzFge2o gCt1VBKVwIU7mwO2eNrXb4njSAFL6+smDV8RBs+NDznTAU3VnvItZOVMGKVtFUltpOGEBqjIR6Ifsf 9AiAJodlgrJOAZ5qHbbw8I9Zx8USeyQ== X-MSG-ID: 248259d2-ca5e-11ee-8d57-00505681446f Date: Tue, 13 Feb 2024 11:53:38 +0100 From: Robin van der Gracht To: Andy Shevchenko Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Miguel Ojeda , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Burton , Geert Uytterhoeven Subject: Re: [PATCH v1 10/15] auxdisplay: linedisp: Provide a small buffer in the struct linedisp Message-ID: <20240213115338.2311c4b6@ERD993> In-Reply-To: References: <20240208184919.2224986-1-andriy.shevchenko@linux.intel.com> <20240208184919.2224986-11-andriy.shevchenko@linux.intel.com> <20240212092500.62f006cc@ERD993> Organization: Protonic Holland X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Andy, On Mon, 12 Feb 2024 18:49:49 +0200 Andy Shevchenko wrote: > Looking again into it, the allocation separately with linedisp structure > is indeed too much invasive. I prefer (as we save lines of code and deduplicate > the buffer at least for two drivers, including a new one) to leave this patch > for now. We may rework it later on. Do you agree? Agreed. The additional overhead is probably not worth it. If the buffer size needs to be increased later on we'll take another look. Robin