Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1622108rwl; Fri, 7 Apr 2023 21:22:27 -0700 (PDT) X-Google-Smtp-Source: AKy350YC1XQwLRDgtI6vAWmkOqws8VeavfO5vstGXZ34pseHEz/2DdKxd08TH2MfkC9sNTpFgg6d X-Received: by 2002:a17:907:784f:b0:92b:2389:46bd with SMTP id lb15-20020a170907784f00b0092b238946bdmr1322099ejc.21.1680927746985; Fri, 07 Apr 2023 21:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680927746; cv=none; d=google.com; s=arc-20160816; b=W80euTEed3QM6VJj8k4LV16+dS+RTJjhq3C26KDFm3sOOyPgTcxPmzyA4+ejf+ipUZ QsneaT7H0orvvcAZ2cAWU6SMhXf4UAATt99ujJG09w8EIGE6s07koay8IiBrELFxp/gK kZiegP4qeXBS+2ditfQeQ0bNAhCgEsu045QZyveIAakZJbVlY8o1nBri7x0jCYE+WAcm 9Cmt7fLVJlMsyPBUwlik49BH4wgQ9CoqeoEjyPOO8kKJtnmX80NnEo5j+U4OnfwA6H3k dK1bdzCjn8q/e0lchsjw0o28Tg1SIJbdnA7F9TP+uxVTigaOu7VrjqsbnyHYwt12JxTS A2pg== 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=EmCydR89TYjDMrqEUpUhBGHsLrQAjPhSBrgqDVZfMKw=; b=aTfKMUVCHUYzukWo6RipihkUxqd0qO3pD+wEYPHhiwDFPomiyPNr6d5QKsUkEsM6SV lOJ9B1q+Ot4BQ3GUU3VCl3CkMOhyumZwaPSGKWZvIT0sIeKT2u1GSMJFP1ktdypa/YZI wvO4VztEixdhwV69yIdwkGLct0Tv3jaA8Mc9soNNUR29zKRcQbADyp7sFMES2aiUBwRn nLjinG5t+dNKxuGOP3a0f+glUwFjH+91JBZdwu0OfxTVwUGRM31N0mROqnrDkVZWqDky BBCzwzeGrQHMRF9bGpxD0a+FQdMbHhFKJ0FWGN9p0s/xD34U74oKqGuCzIuGxtgLzKYR Oimw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gVhUzqjd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x17-20020a1709064bd100b0093b794c719csi4447272ejv.690.2023.04.07.21.22.00; Fri, 07 Apr 2023 21:22:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gVhUzqjd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229494AbjDHEJf (ORCPT + 99 others); Sat, 8 Apr 2023 00:09:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjDHEJc (ORCPT ); Sat, 8 Apr 2023 00:09:32 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A05DD332 for ; Fri, 7 Apr 2023 21:09:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680926971; x=1712462971; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=I85LnZNyBLif63Nt+7CkFxtYuaxsLLp2R4nv7/uIJo0=; b=gVhUzqjd5NArC8z3TuEA318jy5CESv/V2+QQ155tXlewVj0vXNVgaD6B L564+CU5xUgqvqSVc6zIPOn9/YrCoEK374KaNo6P5e07LLDPwV0e2GPdW FUgHz1T/tiCl+lTtQDE/cQj7oGf5PFR16H4WZf9syA0dsL3GCw4RFKmt+ jx9YXlkpYgqzkQ9x5Me0vygTuBtDGfpqK7qCO0NO7JLEXain76Kv5GNa1 2iFARWL2nZUkVA9zo7/GIb3M988cxzIiaJ+byJPOMk2xLI6RIyopJXUtq 0j27MLrhCLhxqMVVp652uPY1zye+7Tr8qu97aUsbWL52RsjOV5EI521EP A==; X-IronPort-AV: E=McAfee;i="6600,9927,10673"; a="341861521" X-IronPort-AV: E=Sophos;i="5.98,328,1673942400"; d="scan'208";a="341861521" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2023 21:09:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10673"; a="831368603" X-IronPort-AV: E=Sophos;i="5.98,328,1673942400"; d="scan'208";a="831368603" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 07 Apr 2023 21:09:28 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pkztH-000TIP-1p; Sat, 08 Apr 2023 04:09:27 +0000 Date: Sat, 8 Apr 2023 12:09:08 +0800 From: kernel test robot To: Lyude Paul , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Thomas Zimmermann , Karol Herbst , Jani Nikula , open list , Ben Skeggs , Dave Airlie , Kees Cook Subject: Re: [PATCH 2/2] drm/nouveau/kms: Add INHERIT ioctl to nvkm/nvif for reading IOR state Message-ID: <202304081129.AMXCmyn2-lkp@intel.com> References: <20230407222133.1425969-2-lyude@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230407222133.1425969-2-lyude@redhat.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 Lyude, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.3-rc5 next-20230406] [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/Lyude-Paul/drm-nouveau-kms-Add-INHERIT-ioctl-to-nvkm-nvif-for-reading-IOR-state/20230408-062329 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230407222133.1425969-2-lyude%40redhat.com patch subject: [PATCH 2/2] drm/nouveau/kms: Add INHERIT ioctl to nvkm/nvif for reading IOR state config: arm64-buildonly-randconfig-r001-20230403 (https://download.01.org/0day-ci/archive/20230408/202304081129.AMXCmyn2-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 2c57868e2e877f73c339796c3374ae660bb77f0d) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/a3d963915cf6f2d87b57146f7bc57a6a89d90cf6 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Lyude-Paul/drm-nouveau-kms-Add-INHERIT-ioctl-to-nvkm-nvif-for-reading-IOR-state/20230408-062329 git checkout a3d963915cf6f2d87b57146f7bc57a6a89d90cf6 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304081129.AMXCmyn2-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/nouveau/dispnv50/disp.c:2554:1: warning: no previous prototype for function 'nv50_display_read_hw_state' [-Wmissing-prototypes] nv50_display_read_hw_state(struct nouveau_drm *drm) ^ drivers/gpu/drm/nouveau/dispnv50/disp.c:2553:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void ^ static drivers/gpu/drm/nouveau/dispnv50/disp.c:2618:1: warning: no previous prototype for function 'nv50_display_create' [-Wmissing-prototypes] nv50_display_create(struct drm_device *dev) ^ drivers/gpu/drm/nouveau/dispnv50/disp.c:2617:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int ^ static 2 warnings generated. vim +/nv50_display_read_hw_state +2554 drivers/gpu/drm/nouveau/dispnv50/disp.c 2551 2552 /* Read back the currently programmed display state */ 2553 void > 2554 nv50_display_read_hw_state(struct nouveau_drm *drm) 2555 { 2556 struct drm_device *dev = drm->dev; 2557 struct drm_encoder *encoder; 2558 struct drm_modeset_acquire_ctx ctx; 2559 struct nv50_disp *disp = nv50_disp(dev); 2560 int ret; 2561 2562 DRM_MODESET_LOCK_ALL_BEGIN(dev, ctx, 0, ret); 2563 2564 drm_for_each_encoder(encoder, dev) { 2565 if (encoder->encoder_type == DRM_MODE_ENCODER_DPMST) 2566 continue; 2567 2568 nv50_display_read_hw_or_state(dev, disp, nouveau_encoder(encoder)); 2569 } 2570 2571 DRM_MODESET_LOCK_ALL_END(dev, ctx, ret); 2572 } 2573 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests