Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2112128ybv; Thu, 6 Feb 2020 16:13:24 -0800 (PST) X-Google-Smtp-Source: APXvYqx+e5W+sbaY1o1EiBdZ2rQ4GBGzRPqgC+u3EUYhZER21pDbJh/SnxyLaMis8eff8c+WXeJh X-Received: by 2002:a54:410e:: with SMTP id l14mr299712oic.42.1581034404296; Thu, 06 Feb 2020 16:13:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581034404; cv=none; d=google.com; s=arc-20160816; b=tQ1HKt0mLl70dCkCSlgdJ0d9cN/4kjzeVlGM4R7PFg8FNNzzzMeZJlJYZY1ugpAffe Kvhe2tnQ6X3ASzk5Lf6HOvGj4NzJwJujZemiPFXhJ63tWdDha5XxJv9QQSEZTF8fLoIR WGTutyEa/glDJoolRxe1GuyT5Ptpclobdy9sKanlmwPeLKWQnJ9dmTWbLXM1oUa9kyEr PCHy+3jVPSMofhSxUmRbgUIgf00bVBMC0XchO8BAgynBszuZZAeHwNJ84QhhpyFq5rOr UzRBJHnaPQqbnIk04NrJDlzFuGDT5oCIolmzNg66erM4BVrdb7YpKwKPfZ1hPJsT2Gjm 98iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-id:mime-version:references :message-id:in-reply-to:subject:cc:to:from:date; bh=iokOcnpuSv5US+fImtoorqUZyTHOpnBN6KnZ0AvBfSk=; b=W5uJ5UB4XMsNustat855qBt+mmMU0i2bmqQs/ijMaLGubOimk8FtHk+x1rBdcgQjIk Sr6POdW35Kk4MMeU9wTYU+vrI7SnEgDi7JHgG31NXG+R1DNVascmmJJ8RrvomHSWWZHL WVwk2Iamq5cRw748nsp3PYz1SPENvHMMUL/Xx89Dj9dT6SLahFPsELHMhGn5eV4mz+tv FT77CJNj/4P3saeHdooqKuVSDvnyQ0Hdg4JD3DiDub527/Pac+gm+bSHgawCPHkd9UkD swFuvo7U9PTjKaY+84mCvaAKj2bVhZ+CFXPMbIjk0P39ac4+St3UPbLTypqRcO8QE5RO YRCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 17si666194otv.149.2020.02.06.16.12.47; Thu, 06 Feb 2020 16:13:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726997AbgBGAK2 (ORCPT + 99 others); Thu, 6 Feb 2020 19:10:28 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:46674 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726502AbgBGAK2 (ORCPT ); Thu, 6 Feb 2020 19:10:28 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id 01A8327E6B; Thu, 6 Feb 2020 19:10:21 -0500 (EST) Date: Fri, 7 Feb 2020 11:10:21 +1100 (AEDT) From: Finn Thain To: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= cc: Ralf Baechle , Paul Burton , James Hogan , Thomas Bogendoerfer , "open list:BROADCOM NVRAM DRIVER" , open list , Bartlomiej Zolnierkiewicz , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Laurent Vivier , Thomas Bogendoerfer Subject: Re: [PATCH 1/3] fbdev/g364fb: Fix build failure In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="-1463811774-1984420675-1581033946=:13" Content-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811774-1984420675-1581033946=:13 Content-Type: text/plain; CHARSET=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: On Fri, 7 Feb 2020, Philippe Mathieu-Daud=C3=A9 wrote: > On Wed, Feb 5, 2020 at 11:18 PM Finn Thain = wrote: > > On Wed, 5 Feb 2020, Philippe Mathieu-Daud=C3=A9 wrote: > > > On Sun, Feb 2, 2020 at 3:41 AM Finn Thain wrote: > > > > > > > > This patch resolves these compiler errors and warnings -- > > > > > > > > CC drivers/video/fbdev/g364fb.o > > > > drivers/video/fbdev/g364fb.c: In function 'g364fb_cursor': > > > > drivers/video/fbdev/g364fb.c:137:9: error: 'x' undeclared (first us= e in this function) > > > > drivers/video/fbdev/g364fb.c:137:9: note: each undeclared identifie= r is reported only once for each function it appears in > > > > drivers/video/fbdev/g364fb.c:137:7: error: implicit declaration of = function 'fontwidth' [-Werror=3Dimplicit-function-declaration] > > > > drivers/video/fbdev/g364fb.c:137:23: error: 'p' undeclared (first u= se in this function) > > > > drivers/video/fbdev/g364fb.c:137:38: error: 'y' undeclared (first u= se in this function) > > > > drivers/video/fbdev/g364fb.c:137:7: error: implicit declaration of = function 'fontheight' [-Werror=3Dimplicit-function-declaration] > > > > drivers/video/fbdev/g364fb.c: In function 'g364fb_init': > > > > drivers/video/fbdev/g364fb.c:233:24: error: 'fbvar' undeclared (fir= st use in this function) > > > > drivers/video/fbdev/g364fb.c:234:24: error: 'xres' undeclared (firs= t use in this function) > > > > > > 18 years unnoticed... > > > > > > > More likely, it was noticed by those without the skills or time to get= =20 > > it fixed upstream. > > > > Those with the hardware skills and platform knowledge to be affected=20 > > by an obscure bug aren't necessarily also capable of fixing a kernel=20 > > bug, sending a patch upstream and getting it past code review. > > > > Getting a patch into the Linux kernel is itself a lot of work, unless= =20 > > you've had years of experience with that constantly changing process=20 > > (which varies significantly between subsystems). >=20 > I see, I'm not custom to kernel workflow. >=20 > > Kernel developers are only human and do accidentally introduce=20 > > breakage in their work (as contributors) while ironically (as=20 > > reviewers) they raise the bar for random fixes from users not versed=20 > > in the 10000+ lines of Documentation/process/*.rst > > > > Broken code does not mean zero potential users or zero frustrated=20 > > users yet I often hear kernel developers disingenuously claim that it= =20 > > does. They have an incentive to make that claim and often there's=20 > > no-one reading the mailing lists to push back. >=20 > But broken code is also bad example of code. The removed code is still=20 > buried in the git tree. >=20 Some bugs may never be noticed and yet everyone assumes that they are=20 present (hence "defence in depth" and all of the complexity that entails). My complaint was really about broken code being used as a rationale to=20 remove additional code (whatever its quality). For example, some maintainers would say, "18 years unnoticed... don't stop= =20 at g364fb_cursor(), remove the entire driver". ---1463811774-1984420675-1581033946=:13--