Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6211453pxb; Tue, 16 Feb 2021 20:56:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEmIZYb8GJHuUhl46TBDSj0zU2fb0qqizN6oveab+wj1zpFawdsxsl2NTuf2AyQVEU3PYS X-Received: by 2002:a17:906:24d9:: with SMTP id f25mr21790520ejb.195.1613537819102; Tue, 16 Feb 2021 20:56:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613537819; cv=none; d=google.com; s=arc-20160816; b=c1NdyGLiPfciXU9sIk4QtJGzRIy1yyWT17jl2lxHgvbqwXFZyGgIrBleifePPjU2sR T85iiZDsygopvmY7yllsXqPScPU7fzGnBICiKiubu7Xk2vh6YgmkPzXRvLk0zvbcO7bb /DGL5xFEi3XngI5aVxZxIwiVsZwhHxiewGxSj7Z2P1sldVxWRZYftw5cc9BSysaseG4g FOXgujq4HPy2zg0i4hIPqCpK9j/lTEQZyoo213jREJMqUWmtFU0d+koFLOSo5KpSA7U3 Hm04PKT+IeTxMaBaGxpvmlqNE5Xcst9pJtl8xN/Q1JbCoR0A3U7/WobEHQBx4j6oerMn NnKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Y8jP8OQBrAit6yFSrmvklcGAxid8Z1O9phRfz3mUBLc=; b=cmcWsgZr3AEtxLZaLOdEQh4lvqXrrCSBeUKrg6FCo9+Bnf6HvWhbc0Db0fwiLwWIw9 1SpC4C1jv+02o7grqDc+r9Kl7PDX8Dyq/lhomQZghoq6arRkUuaIZjrkdJwBPye/BjSM B9Z2I8AZVHhmoNCDQ+OBkXGPtVkN92hQFWjfUDbtVFh1kEes7zLcjXeyePgTnsLJOTrG U8dBZk4jK1SUON6wqQPQZE/g1uCqbTRGe8uOUZ0h5sxcj86cUZ5NP6L7re8gxtEWXu2K vx9kYeJvu0Xedv+npUK6oqg+TuTBigNs9kTYwuDbTmPBph0LlwNeb7watgK/jxwJfaOD VGhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b3si752031ejj.422.2021.02.16.20.56.35; Tue, 16 Feb 2021 20:56:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231382AbhBQEz4 (ORCPT + 99 others); Tue, 16 Feb 2021 23:55:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:41360 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbhBQEz4 (ORCPT ); Tue, 16 Feb 2021 23:55:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 845C564DE9; Wed, 17 Feb 2021 04:55:14 +0000 (UTC) Subject: Re: [SPAM?]Re: arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared To: Arnd Bergmann , kernel test robot Cc: Arnd Bergmann , kbuild-all@lists.01.org, "linux-kernel@vger.kernel.org" References: <202102121331.d4C0ShlS-lkp@intel.com> From: Greg Ungerer Message-ID: <2903dec9-b21d-9d91-0ad9-045bd9b2afd4@linux-m68k.org> Date: Wed, 17 Feb 2021 14:55:12 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On 12/2/21 8:05 pm, Arnd Bergmann wrote: > On Fri, Feb 12, 2021 at 6:48 AM kernel test robot wrote: >> >> FYI, the error/warning still remains. > >> | ^~~~~~~~~~~~ >> arch/m68k/68000/dragen2.c: In function 'init_dragen2': >>>> arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function) >> 73 | LSSA = (long) screen_bits; >> | ^~~~~~~~~~~ >> arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in > > This problem existed before my patch, I just moved the line to another file. > To fix it, one needs to test on real hardware and figure out what is supposed > to go in there. > > The bug was apparently introduced in linux-2.5.70 in this commit: > > commit 2b1a7e97c8c2d6330a432cbcaf83a0ef5fab848e > Author: gerg > Date: Mon May 26 16:45:57 2003 +0000 > > [PATCH] fix m68knommu DragonEngine2 target setup code > > Numerous fixes for the m68knommu DragonEngine2 setup code. > > It was out of date relative to more recent kernels. Original patches > from Georges Menie. > > BKrev: 3ed244c5dPVeFKP63b4kkeS_rEshag Digging around a bit I think the screen_bits data structure was originally in a screen.h file that was generated from a screen.xbm file. That was removed in commit 0c0e6db80683 ("m68k: drop unused parts of 68VZ328 Makefile"). Obviously no one seems to be using this, that has been broken for a long time now. I could restore the generated screen.h here, so this could compile at least. I don't have any of the hardware supported in the arch/m68k/68000 directory, so I can't test anything we fix in there. The other option is to remove the dragen code altogether. Regards Greg