tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: ef66bf8aeb91fd331cf8f5dca8f9d7bca9ab2849 commit: 7957ec80ef97e983bb87782757c9dd74c34acc27 [7330/10518] drm/amdgpu: Add FRU sysfs nodes only if needed reproduce: (https://download.01.org/0day-ci/archive/20230817/202308170544.f6zj62AL-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202308170544.f6zj62AL-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1: warning: 'product_name' not found >> ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1: warning: 'serial_number' not found vim +/product_name +1 ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c d38ceaf99ed015 Alex Deucher 2015-04-20 @1 /* d38ceaf99ed015 Alex Deucher 2015-04-20 2 * Copyright 2008 Advanced Micro Devices, Inc. d38ceaf99ed015 Alex Deucher 2015-04-20 3 * Copyright 2008 Red Hat Inc. d38ceaf99ed015 Alex Deucher 2015-04-20 4 * Copyright 2009 Jerome Glisse. d38ceaf99ed015 Alex Deucher 2015-04-20 5 * d38ceaf99ed015 Alex Deucher 2015-04-20 6 * Permission is hereby granted, free of charge, to any person obtaining a d38ceaf99ed015 Alex Deucher 2015-04-20 7 * copy of this software and associated documentation files (the "Software"), d38ceaf99ed015 Alex Deucher 2015-04-20 8 * to deal in the Software without restriction, including without limitation d38ceaf99ed015 Alex Deucher 2015-04-20 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, d38ceaf99ed015 Alex Deucher 2015-04-20 10 * and/or sell copies of the Software, and to permit persons to whom the d38ceaf99ed015 Alex Deucher 2015-04-20 11 * Software is furnished to do so, subject to the following conditions: d38ceaf99ed015 Alex Deucher 2015-04-20 12 * d38ceaf99ed015 Alex Deucher 2015-04-20 13 * The above copyright notice and this permission notice shall be included in d38ceaf99ed015 Alex Deucher 2015-04-20 14 * all copies or substantial portions of the Software. d38ceaf99ed015 Alex Deucher 2015-04-20 15 * d38ceaf99ed015 Alex Deucher 2015-04-20 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR d38ceaf99ed015 Alex Deucher 2015-04-20 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, d38ceaf99ed015 Alex Deucher 2015-04-20 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL d38ceaf99ed015 Alex Deucher 2015-04-20 19 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR d38ceaf99ed015 Alex Deucher 2015-04-20 20 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, d38ceaf99ed015 Alex Deucher 2015-04-20 21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR d38ceaf99ed015 Alex Deucher 2015-04-20 22 * OTHER DEALINGS IN THE SOFTWARE. d38ceaf99ed015 Alex Deucher 2015-04-20 23 * d38ceaf99ed015 Alex Deucher 2015-04-20 24 * Authors: Dave Airlie d38ceaf99ed015 Alex Deucher 2015-04-20 25 * Alex Deucher d38ceaf99ed015 Alex Deucher 2015-04-20 26 * Jerome Glisse d38ceaf99ed015 Alex Deucher 2015-04-20 27 */ b1ddf548472729 Rex Zhu 2018-06-04 28 #include <linux/power_supply.h> 0875dc9e80eb3b Chunming Zhou 2016-06-12 29 #include <linux/kthread.h> fdf2f6c56e5e28 Sam Ravnborg 2019-06-10 30 #include <linux/module.h> d38ceaf99ed015 Alex Deucher 2015-04-20 31 #include <linux/console.h> d38ceaf99ed015 Alex Deucher 2015-04-20 32 #include <linux/slab.h> 4a74c38cd67b3e Philip Yang 2021-12-06 33 #include <linux/iommu.h> 901e2be20dc550 Alex Deucher 2022-01-24 34 #include <linux/pci.h> 3d8785f6c04a95 Somalapuram Amaranath 2022-06-02 35 #include <linux/devcoredump.h> 3d8785f6c04a95 Somalapuram Amaranath 2022-06-02 36 #include <generated/utsrelease.h> 08a2fd23c6c21e Ramesh Errabolu 2022-05-26 37 #include <linux/pci-p2pdma.h> d37a3929ca0363 Orlando Chamberlain 2023-03-03 38 #include <linux/apple-gmux.h> fdf2f6c56e5e28 Sam Ravnborg 2019-06-10 39 :::::: The code at line 1 was first introduced by commit :::::: d38ceaf99ed015f2a0b9af3499791bd3a3daae21 drm/amdgpu: add core driver (v4) :::::: TO: Alex Deucher <alexander.deucher@xxxxxxx> :::::: CC: Alex Deucher <alexander.deucher@xxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki