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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5BE4EC4828D for ; Sun, 4 Feb 2024 02:16:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4C36510EAAC; Sun, 4 Feb 2024 02:16:13 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="eAFuEWFU"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 768E810EAAC for ; Sun, 4 Feb 2024 02:16:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707012971; x=1738548971; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vjhvToWHnh83ymJbga+ySukmrzU3KaiIfJGjjnavqxs=; b=eAFuEWFUJSjdz79v1oppZ5et5W0Ht6o1Dc8ZbSXGJos5YTorfRD4IikZ l4pJnHhlbGtBd6LAWMbwUdG1cO06jKhAcRp/JmppB6LuQDUwDuZNNs8rl AiD35Mr3wgOBDpyrwFN8d89NyVyGEFEVDreI/0PryVFGSaMJi1gaxI2nx uWk5b60qoFN5/I75mWnUGli/RwFNQJf+qScJqnhO02CfWZCB6QO8nubVs yt0lXqzENRPd2ipWnhKaHNwC6SG4ZJIJmYNGBIMa+WHz7OUjwnJ/GlIJd zgXVbZEHpMnKh++jDNhi4wl8V0FhvB5Q3P6DoxOOqOjkHYSxZb7qD9ZPS g==; X-IronPort-AV: E=McAfee;i="6600,9927,10973"; a="508504" X-IronPort-AV: E=Sophos;i="6.05,242,1701158400"; d="scan'208";a="508504" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2024 18:16:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10973"; a="932832617" X-IronPort-AV: E=Sophos;i="6.05,242,1701158400"; d="scan'208";a="932832617" Received: from lkp-server02.sh.intel.com (HELO 59f4f4cd5935) ([10.239.97.151]) by fmsmga001.fm.intel.com with ESMTP; 03 Feb 2024 18:16:06 -0800 Received: from kbuild by 59f4f4cd5935 with local (Exim 4.96) (envelope-from ) id 1rWS1o-0005so-0A; Sun, 04 Feb 2024 02:15:01 +0000 Date: Sun, 4 Feb 2024 10:13:43 +0800 From: kernel test robot To: Thomas Zimmermann , javierm@redhat.com, pjones@redhat.com, deller@gmx.de, ardb@kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Thomas Zimmermann Subject: Re: [PATCH v2 3/8] firmware/sysfb: Set firmware-framebuffer parent device Message-ID: <202402041001.rJrT47HE-lkp@intel.com> References: <20240202120140.3517-4-tzimmermann@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240202120140.3517-4-tzimmermann@suse.de> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Thomas, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm-tip/drm-tip linus/master v6.8-rc2 next-20240202] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Zimmermann/video-Add-helpers-for-decoding-screen_info/20240202-200314 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20240202120140.3517-4-tzimmermann%40suse.de patch subject: [PATCH v2 3/8] firmware/sysfb: Set firmware-framebuffer parent device config: i386-buildonly-randconfig-003-20240203 (https://download.01.org/0day-ci/archive/20240204/202402041001.rJrT47HE-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240204/202402041001.rJrT47HE-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202402041001.rJrT47HE-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/firmware/sysfb.c:104:41: error: too many arguments to function call, expected 2, have 3 104 | pd = sysfb_create_simplefb(si, &mode, parent); | ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~ include/linux/sysfb.h:105:39: note: 'sysfb_create_simplefb' declared here 105 | static inline struct platform_device *sysfb_create_simplefb(const struct screen_info *si, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 106 | const struct simplefb_platform_data *mode) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. vim +104 drivers/firmware/sysfb.c 83 84 static __init int sysfb_init(void) 85 { 86 struct screen_info *si = &screen_info; 87 struct device *parent; 88 struct simplefb_platform_data mode; 89 const char *name; 90 bool compatible; 91 int ret = 0; 92 93 mutex_lock(&disable_lock); 94 if (disabled) 95 goto unlock_mutex; 96 97 sysfb_apply_efi_quirks(); 98 99 parent = sysfb_parent_dev(si); 100 101 /* try to create a simple-framebuffer device */ 102 compatible = sysfb_parse_mode(si, &mode); 103 if (compatible) { > 104 pd = sysfb_create_simplefb(si, &mode, parent); 105 if (!IS_ERR(pd)) 106 goto unlock_mutex; 107 } 108 109 /* if the FB is incompatible, create a legacy framebuffer device */ 110 if (si->orig_video_isVGA == VIDEO_TYPE_EFI) 111 name = "efi-framebuffer"; 112 else if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) 113 name = "vesa-framebuffer"; 114 else if (si->orig_video_isVGA == VIDEO_TYPE_VGAC) 115 name = "vga-framebuffer"; 116 else if (si->orig_video_isVGA == VIDEO_TYPE_EGAC) 117 name = "ega-framebuffer"; 118 else 119 name = "platform-framebuffer"; 120 121 pd = platform_device_alloc(name, 0); 122 if (!pd) { 123 ret = -ENOMEM; 124 goto unlock_mutex; 125 } 126 127 pd->dev.parent = parent; 128 129 sysfb_set_efifb_fwnode(pd); 130 131 ret = platform_device_add_data(pd, si, sizeof(*si)); 132 if (ret) 133 goto err; 134 135 ret = platform_device_add(pd); 136 if (ret) 137 goto err; 138 139 goto unlock_mutex; 140 err: 141 platform_device_put(pd); 142 unlock_mutex: 143 mutex_unlock(&disable_lock); 144 return ret; 145 } 146 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki