From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5584FC433F5 for ; Sat, 9 Apr 2022 09:52:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D73556B0074; Sat, 9 Apr 2022 05:52:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D217D6B0073; Sat, 9 Apr 2022 05:52:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BE9CF6B0074; Sat, 9 Apr 2022 05:52:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.a.hostedemail.com [64.99.140.24]) by kanga.kvack.org (Postfix) with ESMTP id AE47B6B0071 for ; Sat, 9 Apr 2022 05:52:49 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 7C3FD17B9 for ; Sat, 9 Apr 2022 09:52:49 +0000 (UTC) X-FDA: 79336876458.12.B5C7147 Received: from aposti.net (aposti.net [89.234.176.197]) by imf22.hostedemail.com (Postfix) with ESMTP id ED439C0003 for ; Sat, 9 Apr 2022 09:52:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1649497964; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dNafaXc1LPV2n1+Y0zL8i5+QtrkMtG22uhrn9h19vEU=; b=HNpK+P/Baw8vYRQbGBTVLhFpDvdwSldLLQ2O8uGEnrwPGG3KN0HSwMbJF1jaiYAP6W7hYC GgyAunUiijVwji+JWmabVGI0YtF0nYce1f9/msT/yFmGOb29dDMYuJhTSUs2U9EpzIhexF 0o7aCuk7iZPCXIgp8GEQyT8KSfF+8ps= Date: Sat, 09 Apr 2022 10:52:35 +0100 From: Paul Cercueil Subject: Re: [linux-next:master 2149/3040] drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: error: initialization of 'void (*)(struct spi_device *)' from incompatible pointer type 'int (*)(struct spi_device *)' To: kernel test robot Cc: Christophe Branchereau , Stephen Rothwell , kbuild-all@lists.01.org, Linux Memory Management List , Sam Ravnborg Message-Id: In-Reply-To: <202204090833.kpGpCUaF-lkp@intel.com> References: <202204090833.kpGpCUaF-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Stat-Signature: juiazj5o8u8jzzsfwkhutdfcx4jh5zip Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=crapouillou.net header.s=mail header.b="HNpK+P/B"; dmarc=pass (policy=none) header.from=crapouillou.net; spf=pass (imf22.hostedemail.com: domain of paul@crapouillou.net designates 89.234.176.197 as permitted sender) smtp.mailfrom=paul@crapouillou.net X-Rspam-User: X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: ED439C0003 X-HE-Tag: 1649497968-605740 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi, Sorry, I thought Stephen (Cc'd) already fixed it. Will send a patch=20 ASAP. Cheers, -Paul Le sam., avril 9 2022 at 08:15:02 +0800, kernel test robot=20 a =E9crit : > tree: =20 > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git=20 > master > head: ff511c1c68a5a35ab0b3efb3c306fd80b10d74be > commit: 49956b505c53923723370a8960ae8fcd9e2b2116 [2149/3040]=20 > drm/panel: Add panel driver for NewVision NV3052C based LCDs > config: nios2-randconfig-r033-20220408=20 > (https://download.01.org/0day-ci/archive/20220409/202204090833.kpGpCUaF-l= kp@intel.com/config) > compiler: nios2-linux-gcc (GCC) 11.2.0 > reproduce (this is a W=3D1 build): > wget=20 > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross=20 > -O ~/bin/make.cross > chmod +x ~/bin/make.cross > #=20 > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi= t/?id=3D49956b505c53923723370a8960ae8fcd9e2b2116 > git remote add linux-next=20 > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 49956b505c53923723370a8960ae8fcd9e2b2116 > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0=20 > make.cross O=3Dbuild_dir ARCH=3Dnios2 SHELL=3D/bin/bash=20 > drivers/gpu/drm/panel/ >=20 > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot >=20 > Note: the linux-next/master HEAD=20 > ff511c1c68a5a35ab0b3efb3c306fd80b10d74be builds fine. > It may have been fixed somewhere. >=20 > All errors (new ones prefixed by >>): >=20 >>> drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: error:=20 >>> initialization of 'void (*)(struct spi_device *)' from incompatible=20 >>> pointer type 'int (*)(struct spi_device *)'=20 >>> [-Werror=3Dincompatible-pointer-types] > 478 | .remove =3D nv3052c_remove, > | ^~~~~~~~~~~~~~ > drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: note:=20 > (near initialization for 'nv3052c_driver.remove') > cc1: some warnings being treated as errors >=20 >=20 > vim +478 drivers/gpu/drm/panel/panel-newvision-nv3052c.c >=20 > 471 > 472 static struct spi_driver nv3052c_driver =3D { > 473 .driver =3D { > 474 .name =3D "nv3052c", > 475 .of_match_table =3D nv3052c_of_match, > 476 }, > 477 .probe =3D nv3052c_probe, > > 478 .remove =3D nv3052c_remove, > 479 }; > 480 module_spi_driver(nv3052c_driver); > 481 >=20 > -- > 0-DAY CI Kernel Test Service > https://01.org/lkp