Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp248663iob; Mon, 2 May 2022 18:29:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVW30hqIBSrEKN3VV1vkktq/IBMtkbCqGnhoW1BsTNuU7HTGnxIKjqU5j5mS39Q370SmO/ X-Received: by 2002:a05:6a00:2382:b0:50d:fa40:1077 with SMTP id f2-20020a056a00238200b0050dfa401077mr4503066pfc.8.1651541370963; Mon, 02 May 2022 18:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651541370; cv=none; d=google.com; s=arc-20160816; b=E6SPL7xDbE9kN0LAUT435K1zV2KBYxJA4S+pVTt/o2Cw0QjVVP82IWDMIE4Ch8XDLk /JrmDoKh9LUPSXClzip7beQuXyVDsHMTmfaJ5z6SIM8MmVwfEs9QlRJ3SbPwrwklfRtT 5d/CrJpouO1DuOV2jfSHj4vuoGCeulgHouOGZZUsJIq2tDogbPUrd79TGAfEAriy0ZeR iopThctTbYkm355s0Q7Kl66m+piHfzjp+JsgONEOF0OugFmk2J0N9G27N8XP17X3RjoN RxtBPXExp4X+Ipm5TQaXFLyC0aR+iEylJCqaX51uNadQ+AH4kErL1qqLS8gCto7z8us/ nkSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oMi3rnRZ2dGdjTasqT9bQyaO54FPk3C0rS4/Ex5x8po=; b=EZfbukT+k2dA7p/2Fl4SSutrKT4tG9X4FBO+nfSMEDESVER0IqJ0e3XCVZssZE4odM Y7iAtRB7EaCvGIaGG2shBLZzw6vYcRZDmXa0oX8iAw5Tc2JVOGYRedlRrPXKSffwZhd2 xBUJJzMUDyu8nvDIgFK7Dz61NgFLPKW+31oaJctDIYifjMduyReIvLmL8684LzWrrxpE EqZ8purlDMALFbD+cq3geHA6o/O7geLV+arUlTgQXNaWfhHgXmbeyVEm8Z/hZ4NV9MrL CUBLUoL8yb7irWRcdSbBlHvAqbpygaj3FbznxyRHjdyhIsg5qLvRoIH1lwGc2iEXti6E 9dsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mAz0Eg0J; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q11-20020a65494b000000b003ab2425a22esi16151329pgs.583.2022.05.02.18.29.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:29:30 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mAz0Eg0J; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D72514F9C1; Mon, 2 May 2022 18:09:46 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229824AbiECBNH (ORCPT + 99 others); Mon, 2 May 2022 21:13:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229831AbiECBNE (ORCPT ); Mon, 2 May 2022 21:13:04 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43FD759976 for ; Mon, 2 May 2022 18:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651540164; x=1683076164; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xcX7ZSUlfJN5lM63F+DM0r69oVAMDHJEKRwiRlW4Bp8=; b=mAz0Eg0JK6kPg5FnqUXIcnvCK6Q71FflojB1XM0u5CPaqgVHbovSL7oG cGImK5csttMbBSszOycgeCvQyYQ4l54mA3qzToCVW2UEV03Jp7jakO0K8 LdhkxTX/R1YlOYaU2Gx3XrIi/Gl2M8UjB6IXPb2Rk0QFLv0kbPpsqRX4z XBMvltifxg0laXIWq9ujXnWs7pThuJA5uzJcFvktb0mFssTGfwDeZIQxa waq2KU0rbjL3NEVzha65gZ+Sb2a7qW2tKQeh1Oaviieh7CMbw52R1mnBl ad1JNlZuPwpu6jHUSoKDfgqFe1WWVMmOThXdVbXtj8/MxTd2ZbUWbgxy5 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10335"; a="267246251" X-IronPort-AV: E=Sophos;i="5.91,193,1647327600"; d="scan'208";a="267246251" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2022 18:06:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,193,1647327600"; d="scan'208";a="546827160" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 02 May 2022 18:06:09 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nlgzQ-000A1r-JU; Tue, 03 May 2022 01:06:08 +0000 Date: Tue, 3 May 2022 09:05:34 +0800 From: kernel test robot To: Javier Martinez Canillas , linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Laurent Pinchart , Thomas Zimmermann , Daniel Vetter , Javier Martinez Canillas , dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2 3/3] drm: Allow simpledrm to setup its emulated FB as firmware provided Message-ID: <202205030810.VwAEOAqj-lkp@intel.com> References: <20220502153900.408522-4-javierm@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220502153900.408522-4-javierm@redhat.com> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Javier, I love your patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on shawnguo/for-next linus/master linux/master v5.18-rc5 next-20220502] [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] url: https://github.com/intel-lab-lkp/linux/commits/Javier-Martinez-Canillas/drm-Allow-simpledrm-to-setup-its-emulated-FB-as-firmware-provided/20220502-234145 base: git://anongit.freedesktop.org/drm/drm drm-next config: x86_64-randconfig-a011 (https://download.01.org/0day-ci/archive/20220503/202205030810.VwAEOAqj-lkp@intel.com/config) compiler: gcc-11 (Debian 11.2.0-20) 11.2.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/28ef46724e385165777a21d9f661188fa2577a1e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Javier-Martinez-Canillas/drm-Allow-simpledrm-to-setup-its-emulated-FB-as-firmware-provided/20220502-234145 git checkout 28ef46724e385165777a21d9f661188fa2577a1e # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/gpu/drm/tiny/simpledrm.c: In function 'simpledrm_probe': >> drivers/gpu/drm/tiny/simpledrm.c:904:38: error: implicit declaration of function 'DRM_FB_SET_OPTION'; did you mean 'DRM_FB_GET_OPTION'? [-Werror=implicit-function-declaration] 904 | drm_fbdev_generic_setup(dev, DRM_FB_SET_OPTION(DRM_FB_FW, 1)); | ^~~~~~~~~~~~~~~~~ | DRM_FB_GET_OPTION >> drivers/gpu/drm/tiny/simpledrm.c:904:56: error: 'DRM_FB_FW' undeclared (first use in this function) 904 | drm_fbdev_generic_setup(dev, DRM_FB_SET_OPTION(DRM_FB_FW, 1)); | ^~~~~~~~~ drivers/gpu/drm/tiny/simpledrm.c:904:56: note: each undeclared identifier is reported only once for each function it appears in cc1: some warnings being treated as errors vim +904 drivers/gpu/drm/tiny/simpledrm.c 884 885 /* 886 * Platform driver 887 */ 888 889 static int simpledrm_probe(struct platform_device *pdev) 890 { 891 struct simpledrm_device *sdev; 892 struct drm_device *dev; 893 int ret; 894 895 sdev = simpledrm_device_create(&simpledrm_driver, pdev); 896 if (IS_ERR(sdev)) 897 return PTR_ERR(sdev); 898 dev = &sdev->dev; 899 900 ret = drm_dev_register(dev, 0); 901 if (ret) 902 return ret; 903 > 904 drm_fbdev_generic_setup(dev, DRM_FB_SET_OPTION(DRM_FB_FW, 1)); 905 906 return 0; 907 } 908 -- 0-DAY CI Kernel Test Service https://01.org/lkp