tree: git://people.freedesktop.org/~gabbayo/linux habanalabs-next head: addd4be0a770e4cf5607310459cb7c8d11c8ae57 commit: f0fdc034c52b87d1c11bc28e2affd9d5a41a419b [33/38] habanalabs: add hwmgr module for gaudi config: m68k-randconfig-r012-20200519 (attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout f0fdc034c52b87d1c11bc28e2affd9d5a41a419b # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>, old ones prefixed by <<): drivers/misc/habanalabs/gaudi/gaudi_hwmgr.c: In function 'clk_max_freq_mhz_store': >> drivers/misc/habanalabs/gaudi/gaudi_hwmgr.c:72:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 72 | int rc; | ^~ vim +/rc +72 drivers/misc/habanalabs/gaudi/gaudi_hwmgr.c 66 67 static ssize_t clk_max_freq_mhz_store(struct device *dev, 68 struct device_attribute *attr, const char *buf, size_t count) 69 { 70 struct hl_device *hdev = dev_get_drvdata(dev); 71 struct gaudi_device *gaudi = hdev->asic_specific; > 72 int rc; 73 u64 value; 74 75 if (hl_device_disabled_or_in_reset(hdev)) { 76 count = -ENODEV; 77 goto fail; 78 } 79 80 rc = kstrtoull(buf, 0, &value); 81 82 gaudi->max_freq_value = value * 1000 * 1000; 83 84 hl_set_frequency(hdev, MME_PLL, gaudi->max_freq_value); 85 86 fail: 87 return count; 88 } 89 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel