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 3BBE6C433EF for ; Sun, 27 Feb 2022 11:22:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D5C0310E350; Sun, 27 Feb 2022 11:22:37 +0000 (UTC) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id B379710E1EF; Sun, 27 Feb 2022 11:22:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645960955; x=1677496955; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=OGhaOqvPUofWm5U4yDg+lfV9vWzMbT6HxcXvgL97aPQ=; b=LY5uJ5O7keCe6wyp42k0a7hZra/wErCA972icxmQ4oXYkCIKRMApcApD ScWOhHzDyHPL/TZE9dAaOpslE8PXShvW/4XsQumTDAnQsyP0VaRGHCaMz T+4PT14MGEB9BY9xtFX0v6zvDfVtCYFQu+jtSbrS6ku9AvD37AVCv+Wug RqNjsDrJeF428+eHM8aBWyGFPUbqjzBCZU+dz+JhLiyen+j38heF5FtCl c2pt8yH29VPcy11yc4H7pF02DTCm0dZOZLbCTc4KNFZ1BpJSRtr9Adbda 9FHYwyiIsnw5afl5s2VTYJVylBv9X3q8LsCnnvYhT2cPc/psfA58aEaF2 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10270"; a="315940498" X-IronPort-AV: E=Sophos;i="5.90,141,1643702400"; d="scan'208";a="315940498" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2022 03:22:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,141,1643702400"; d="scan'208";a="507136435" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 27 Feb 2022 03:22:32 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nOHdH-0006TG-T3; Sun, 27 Feb 2022 11:22:31 +0000 Date: Sun, 27 Feb 2022 19:22:20 +0800 From: kernel test robot To: Jordan Justen , intel-gfx Message-ID: <202202271904.1Rr5ckwF-lkp@intel.com> References: <20220227081831.1089720-2-jordan.l.justen@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220227081831.1089720-2-jordan.l.justen@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [Intel-gfx] [PATCH v6 1/4] drm/i915/guc: Add fetch of hwconfig table X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev, dri-devel , Rodrigo Vivi Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi Jordan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on drm-tip/drm-tip drm-exynos/exynos-drm-next drm/drm-next tegra-drm/drm/tegra/for-next v5.17-rc5 next-20220225] [cannot apply to airlied/drm-next] [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/0day-ci/linux/commits/Jordan-Justen/GuC-HWCONFIG-with-documentation/20220227-161945 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: i386-randconfig-a011 (https://download.01.org/0day-ci/archive/20220227/202202271904.1Rr5ckwF-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) 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://github.com/0day-ci/linux/commit/7a92eba9714ffe68202fee73b9916d35b0da2968 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Jordan-Justen/GuC-HWCONFIG-with-documentation/20220227-161945 git checkout 7a92eba9714ffe68202fee73b9916d35b0da2968 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/i915/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:110: warning: Function parameter or member 'gt' not described in 'guc_hwconfig_init' >> drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:110: warning: expecting prototype for intel_guc_hwconfig_init(). Prototype was for guc_hwconfig_init() instead drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:143: warning: Function parameter or member 'gt' not described in 'intel_gt_init_hwconfig' drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:156: warning: Function parameter or member 'gt' not described in 'intel_gt_fini_hwconfig' vim +110 drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c 102 103 /** 104 * intel_guc_hwconfig_init - Initialize the HWConfig 105 * 106 * Retrieve the HWConfig table from the GuC and save it locally. 107 * It can then be queried on demand by other users later on. 108 */ 109 static int guc_hwconfig_init(struct intel_gt *gt) > 110 { 111 struct intel_hwconfig *hwconfig = >->info.hwconfig; 112 struct intel_guc *guc = >->uc.guc; 113 int ret; 114 115 if (!has_table(gt->i915)) 116 return 0; 117 118 ret = guc_hwconfig_discover_size(guc, hwconfig); 119 if (ret) 120 return ret; 121 122 hwconfig->ptr = kmalloc(hwconfig->size, GFP_KERNEL); 123 if (!hwconfig->ptr) { 124 hwconfig->size = 0; 125 return -ENOMEM; 126 } 127 128 ret = guc_hwconfig_fill_buffer(guc, hwconfig); 129 if (ret < 0) { 130 intel_gt_fini_hwconfig(gt); 131 return ret; 132 } 133 134 return 0; 135 } 136 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org