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 B417CC433F5 for ; Sat, 9 Apr 2022 00:16:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C02F16B0071; Fri, 8 Apr 2022 20:16:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BB20E6B0073; Fri, 8 Apr 2022 20:16:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A52A86B0074; Fri, 8 Apr 2022 20:16:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.27]) by kanga.kvack.org (Postfix) with ESMTP id 96E5D6B0071 for ; Fri, 8 Apr 2022 20:16:11 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 6A8B724F36 for ; Sat, 9 Apr 2022 00:16:11 +0000 (UTC) X-FDA: 79335423342.15.74A0DA5 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by imf01.hostedemail.com (Postfix) with ESMTP id 66CB540002 for ; Sat, 9 Apr 2022 00:16:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649463369; x=1680999369; h=date:from:to:cc:subject:message-id:mime-version; bh=bW1sbDQ3gvxjQ6pQUELrdU9OD1vWXrQeBt3keKWRvdA=; b=LNB1m7bDc6lTVT9qRAYdTlixq1OBca8HAmu/N+Oju4ZOMqdys07m/g+I NyjQqIPgC1LG4QkZbdGtjaItKJptU6GHqH2axid5ByLTTQTVIYA4l6Zmr ITLD7LPumUWT2p29FENgxDqFZxYMxSbWWSZDXbRESdUIgeFTQUvt8sX5W HPOEDqv7xz/69nV0wi5WYqScw4wsoXYPXi9dx94ShgtUcxjn/gSO/jF16 mGyHlly6gXmiCSEUqUqcCVw46/P/ZMiATT/Uijh0FdvQcFZaZpW9xhc85 UmlduWbgycFJ7fT7Tr+Lmd3zr1gwIT2YD88G972MhQ+kMktLsFmvXTilu g==; X-IronPort-AV: E=McAfee;i="6400,9594,10311"; a="241666089" X-IronPort-AV: E=Sophos;i="5.90,246,1643702400"; d="scan'208";a="241666089" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2022 17:15:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,246,1643702400"; d="scan'208";a="852310364" Received: from lkp-server02.sh.intel.com (HELO 7e80bc2a00a0) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 08 Apr 2022 17:15:51 -0700 Received: from kbuild by 7e80bc2a00a0 with local (Exim 4.95) (envelope-from ) id 1ncyla-0000jZ-AQ; Sat, 09 Apr 2022 00:15:50 +0000 Date: Sat, 9 Apr 2022 08:15:02 +0800 From: kernel test robot To: Christophe Branchereau Cc: kbuild-all@lists.01.org, Linux Memory Management List , Paul Cercueil , Sam Ravnborg Subject: [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 *)' Message-ID: <202204090833.kpGpCUaF-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Stat-Signature: kkjutzqu9n7n6emhx4f3f9qst6ahsckx Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=LNB1m7bD; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf01.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.136) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 66CB540002 X-HE-Tag: 1649463369-478149 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: ff511c1c68a5a35ab0b3efb3c306fd80b10d74be commit: 49956b505c53923723370a8960ae8fcd9e2b2116 [2149/3040] drm/panel: Add panel driver for NewVision NV3052C based LCDs config: nios2-randconfig-r033-20220408 (https://download.01.org/0day-ci/archive/20220409/202204090833.kpGpCUaF-lkp@intel.com/config) compiler: nios2-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=49956b505c53923723370a8960ae8fcd9e2b2116 git remote add linux-next 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=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash drivers/gpu/drm/panel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Note: the linux-next/master HEAD ff511c1c68a5a35ab0b3efb3c306fd80b10d74be builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): >> 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 *)' [-Werror=incompatible-pointer-types] 478 | .remove = nv3052c_remove, | ^~~~~~~~~~~~~~ drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: note: (near initialization for 'nv3052c_driver.remove') cc1: some warnings being treated as errors vim +478 drivers/gpu/drm/panel/panel-newvision-nv3052c.c 471 472 static struct spi_driver nv3052c_driver = { 473 .driver = { 474 .name = "nv3052c", 475 .of_match_table = nv3052c_of_match, 476 }, 477 .probe = nv3052c_probe, > 478 .remove = nv3052c_remove, 479 }; 480 module_spi_driver(nv3052c_driver); 481 -- 0-DAY CI Kernel Test Service https://01.org/lkp