[Intel-gfx] [PATCH 09/15] drm/i915: do more in i915_gpu_coredump_alloc()
kernel test robot
lkp at intel.com
Fri Sep 29 06:18:12 UTC 2023
Hi Jani,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-tip/drm-tip]
url: https://github.com/intel-lab-lkp/linux/commits/Jani-Nikula/drm-i915-stop-including-i915_utils-h-from-intel_runtime_pm-h/20230929-021205
base: git://anongit.freedesktop.org/drm/drm-tip drm-tip
patch link: https://lore.kernel.org/r/d5f8aab89835a70c0af741e7f5765fc2c4875bf7.1695924021.git.jani.nikula%40intel.com
patch subject: [Intel-gfx] [PATCH 09/15] drm/i915: do more in i915_gpu_coredump_alloc()
config: x86_64-buildonly-randconfig-005-20230929 (https://download.01.org/0day-ci/archive/20230929/202309291431.3pKN8WtO-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230929/202309291431.3pKN8WtO-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 <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309291431.3pKN8WtO-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/i915/i915_gpu_error.c:1547:1: warning: no previous prototype for 'intel_engine_coredump_alloc' [-Wmissing-prototypes]
1547 | intel_engine_coredump_alloc(struct intel_engine_cs *engine, gfp_t gfp, u32 dump_flags)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/intel_engine_coredump_alloc +1547 drivers/gpu/drm/i915/i915_gpu_error.c
ff20afc4cee7b6 Thomas Hellström 2021-11-29 1545
742379c0c4001f Chris Wilson 2020-01-10 1546 struct intel_engine_coredump *
a6f0f9cf330a86 Alan Previn 2022-03-21 @1547 intel_engine_coredump_alloc(struct intel_engine_cs *engine, gfp_t gfp, u32 dump_flags)
742379c0c4001f Chris Wilson 2020-01-10 1548 {
742379c0c4001f Chris Wilson 2020-01-10 1549 struct intel_engine_coredump *ee;
742379c0c4001f Chris Wilson 2020-01-10 1550
742379c0c4001f Chris Wilson 2020-01-10 1551 ee = kzalloc(sizeof(*ee), gfp);
c990b4c3597d6c Chris Wilson 2019-08-08 1552 if (!ee)
742379c0c4001f Chris Wilson 2020-01-10 1553 return NULL;
c990b4c3597d6c Chris Wilson 2019-08-08 1554
742379c0c4001f Chris Wilson 2020-01-10 1555 ee->engine = engine;
372fbb8e3927fc Chris Wilson 2014-01-27 1556
a6f0f9cf330a86 Alan Previn 2022-03-21 1557 if (!(dump_flags & CORE_DUMP_FLAG_IS_GUC_CAPTURE)) {
742379c0c4001f Chris Wilson 2020-01-10 1558 engine_record_registers(ee);
742379c0c4001f Chris Wilson 2020-01-10 1559 engine_record_execlists(ee);
a6f0f9cf330a86 Alan Previn 2022-03-21 1560 }
3bdd4f84853106 Chris Wilson 2019-07-22 1561
742379c0c4001f Chris Wilson 2020-01-10 1562 return ee;
c990b4c3597d6c Chris Wilson 2019-08-08 1563 }
ae6c4806927b8b Daniel Vetter 2014-08-06 1564
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the Intel-gfx
mailing list