Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1684687rdf; Sun, 5 Nov 2023 09:32:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWj/RC+kSSJKH9pt3WslnWTAT9e259idaPFCRAC9UniZnYvGX26tknkhj1qWT96WXWFm3O X-Received: by 2002:a05:6808:d4d:b0:3a8:6b4d:6b78 with SMTP id w13-20020a0568080d4d00b003a86b4d6b78mr32896626oik.35.1699205538608; Sun, 05 Nov 2023 09:32:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699205538; cv=none; d=google.com; s=arc-20160816; b=FGWSjmKvtC8vVNxiucJOjoeNDyJgYnxVHwdpJd5b2vAtGtwxLUbJdzvmwV/whGeUCS 7WH+IlECknDAUzCOsBrLB4vH+gxspEqNUA0RBbJNX4BJTKtqIQtSw03FqXw9Nkzgryw7 55HilYmJ9450MEVi/TElDQvv41dh517hxfEOkUC9lL+VhU4f4aSAtY+T8uWiJON/Qslb at2MHzHFaZ6kkTj/gyl90nUTMvGvh7/yKkNqrucw1HhHSaalUlz+0veL5XW8GT5Dj5Ao UXZiYJTIFGO64S/Etl8bdwGWN4uugOBPdNzM6pZ0ubC2tunYtT7UpQlV7DAT/iw7pLYF a+iw== 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=DqMIB7rlPWRjkPSX2+8dzwoFf++p5AIKci22ok0jYLs=; fh=YfW6CcScN7vUTDXd+9CTZmfBQXDIfqDORGnALDOBP7c=; b=fvgz+nhiZQiBAgzrceYuNu2y+dpgt9sfxZNPHGMuAn0x3vpNT7XpMx5o/WhL7ufqCH o19AnGpl2FRz4UP6Ih3Eh01jkecItX//OSYCCLKTkWF8RO2pAR037lOkc1Vb0pzZTKIT zkjRfwzFhx2wVjUuMWifVKUByB9A4mIelgJnf2ZV4mU+b8EZStX2YduhWU0eQJqPvqZA 4K6W27q11QJJA8ooDc5EYsSXaVD7CfViZGudGPL8bPhBqIGK0xY7HItNfLlD8PkiRDwb IY8PRvu7QsPMC3Wh5+i0lnvsID+ZFOX4KQf9fiKImqb/dnQ/B0nPWQPFytRUf6Vz/LBX JwKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="mh9o/LUC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id r38-20020a634426000000b005b8f45e32c8si5641695pga.776.2023.11.05.09.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 09:32:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="mh9o/LUC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 17FDE8089E43; Sun, 5 Nov 2023 09:32:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229772AbjKER20 (ORCPT + 99 others); Sun, 5 Nov 2023 12:28:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbjKER2X (ORCPT ); Sun, 5 Nov 2023 12:28:23 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CA7AF2 for ; Sun, 5 Nov 2023 09:28:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699205301; x=1730741301; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=IH0s2EKBm011pg6eWlimN9vEcHNbrh2FszlkPly8vwg=; b=mh9o/LUCrK6EpyJBOR8b5TOmF9Cx1zXINODA8Kv8cxs79j6OoWkvb/xV lZH41nsHSToSU5u2o9OZfD/u+mBUd4UWjoIT0TdUU7VaQveDBqOSTPius eDUAolvXQmEEErdxczNzeTk5Ckf49LoN7Y+LMdycwfWmmOcITFl77uY7C 3zDqUvYphezbImWz0sW3uTDkSVk77cLwOSr88ytESIco1JJydwNW4EKHg KrPyKwH74yIM7fvC89jV7tab2a6dq1o9JjJR9V/NJSBeHVr3hVzs0rUM7 lj9C+qqaOwGOFBC89M1dmyuoWzAR3c9+3SUd59iQ3q1MIzN3QJXvGmVw8 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10885"; a="386335179" X-IronPort-AV: E=Sophos;i="6.03,279,1694761200"; d="scan'208";a="386335179" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2023 09:28:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10885"; a="885697483" X-IronPort-AV: E=Sophos;i="6.03,279,1694761200"; d="scan'208";a="885697483" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 05 Nov 2023 09:28:18 -0800 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1qzgv2-0005fD-0n; Sun, 05 Nov 2023 17:28:16 +0000 Date: Mon, 6 Nov 2023 01:27:56 +0800 From: kernel test robot To: Sui Jingfeng , Maxime Ripard , Thomas Zimmermann Cc: oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/8] drm/loongson: Allow attach drm bridge driver by calling lsdc_output_init() Message-ID: <202311060159.WME8x93V-lkp@intel.com> References: <20231029194607.379459-4-suijingfeng@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231029194607.379459-4-suijingfeng@loongson.cn> X-Spam-Status: No, score=-1.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 05 Nov 2023 09:32:14 -0800 (PST) Hi Sui, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v6.6 next-20231103] [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/Sui-Jingfeng/drm-loongson-Introduce-a-minimal-support-for-Loongson-VBIOS/20231030-034730 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20231029194607.379459-4-suijingfeng%40loongson.cn patch subject: [PATCH 3/8] drm/loongson: Allow attach drm bridge driver by calling lsdc_output_init() config: x86_64-randconfig-122-20231102 (https://download.01.org/0day-ci/archive/20231106/202311060159.WME8x93V-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231106/202311060159.WME8x93V-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/202311060159.WME8x93V-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/loongson/lsdc_output.c:555:5: sparse: sparse: symbol 'lsdc_encoder_init' was not declared. Should it be static? >> drivers/gpu/drm/loongson/lsdc_output.c:578:5: sparse: sparse: symbol 'lsdc_connector_init' was not declared. Should it be static? vim +/lsdc_encoder_init +555 drivers/gpu/drm/loongson/lsdc_output.c 554 > 555 int lsdc_encoder_init(struct drm_device *ddev, 556 struct lsdc_output *output, 557 unsigned int pipe) 558 { 559 const struct lsdc_output_desc *descp = output->descp; 560 struct drm_encoder *encoder = &output->encoder; 561 int ret; 562 563 ret = drm_encoder_init(ddev, 564 encoder, 565 descp->encoder_funcs, 566 descp->encoder_type, 567 descp->name); 568 if (ret) 569 return ret; 570 571 encoder->possible_crtcs = BIT(pipe); 572 573 drm_encoder_helper_add(encoder, descp->encoder_helper_funcs); 574 575 return 0; 576 } 577 > 578 int lsdc_connector_init(struct drm_device *ddev, 579 struct lsdc_output *output, 580 struct i2c_adapter *ddc, 581 unsigned int pipe) 582 { 583 const struct lsdc_output_desc *descp = output->descp; 584 struct drm_connector *connector = &output->connector; 585 int ret; 586 587 ret = drm_connector_init_with_ddc(ddev, 588 connector, 589 descp->connector_funcs, 590 descp->connector_type, 591 ddc); 592 if (ret) 593 return ret; 594 595 drm_connector_helper_add(connector, descp->connector_helper_funcs); 596 597 drm_connector_attach_encoder(connector, &output->encoder); 598 599 connector->polled = DRM_CONNECTOR_POLL_CONNECT | 600 DRM_CONNECTOR_POLL_DISCONNECT; 601 602 connector->interlace_allowed = 0; 603 connector->doublescan_allowed = 0; 604 605 drm_info(ddev, "DisplayPipe-%u has %s\n", pipe, descp->name); 606 607 return 0; 608 } 609 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki