tree: git://anongit.freedesktop.org/drm-intel drm-intel-nightly head: ca1c03136b168816ac65c5945776908e464fca6b commit: 45b186f111f1623b257d183920cd4aab16a1acd5 [922/930] drm: Constify the drm_mm API config: i386-randconfig-x005-201650 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 45b186f111f1623b257d183920cd4aab16a1acd5 # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): In file included from include/linux/mutex.h:14:0, from include/linux/seq_file.h:7, from drivers/gpu/drm/i915/i915_gem_gtt.c:26: drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'i915_gtt_color_adjust': >> include/linux/list.h:385:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] struct list_head *head__ = (ptr); \ ^ >> drivers/gpu/drm/i915/i915_gem_gtt.c:2732:9: note: in expansion of macro 'list_first_entry_or_null' node = list_first_entry_or_null(&node->node_list, ^~~~~~~~~~~~~~~~~~~~~~~~ vim +/list_first_entry_or_null +2732 drivers/gpu/drm/i915/i915_gem_gtt.c 307dc25b Chris Wilson 2016-08-05 2716 /* Wait a bit, in hopes it avoids the hang */ 307dc25b Chris Wilson 2016-08-05 2717 udelay(10); 307dc25b Chris Wilson 2016-08-05 2718 } 307dc25b Chris Wilson 2016-08-05 2719 } 5c042287 Ben Widawsky 2011-10-17 2720 03ac84f1 Chris Wilson 2016-10-28 2721 dma_unmap_sg(kdev, pages->sgl, pages->nents, PCI_DMA_BIDIRECTIONAL); 7c2e6fdf Daniel Vetter 2010-11-06 2722 } 644ec02b Daniel Vetter 2012-03-26 2723 45b186f1 Chris Wilson 2016-12-16 2724 static void i915_gtt_color_adjust(const struct drm_mm_node *node, 42d6ab48 Chris Wilson 2012-07-26 2725 unsigned long color, 440fd528 Thierry Reding 2015-01-23 2726 u64 *start, 440fd528 Thierry Reding 2015-01-23 2727 u64 *end) 42d6ab48 Chris Wilson 2012-07-26 2728 { 42d6ab48 Chris Wilson 2012-07-26 2729 if (node->color != color) 42d6ab48 Chris Wilson 2012-07-26 2730 *start += 4096; 42d6ab48 Chris Wilson 2012-07-26 2731 2a1d7752 Chris Wilson 2016-07-26 @2732 node = list_first_entry_or_null(&node->node_list, 42d6ab48 Chris Wilson 2012-07-26 2733 struct drm_mm_node, 42d6ab48 Chris Wilson 2012-07-26 2734 node_list); 2a1d7752 Chris Wilson 2016-07-26 2735 if (node && node->allocated && node->color != color) 42d6ab48 Chris Wilson 2012-07-26 2736 *end -= 4096; 42d6ab48 Chris Wilson 2012-07-26 2737 } fbe5d36e Ben Widawsky 2013-11-04 2738 f6b9d5ca Chris Wilson 2016-08-04 2739 int i915_gem_init_ggtt(struct drm_i915_private *dev_priv) 644ec02b Daniel Vetter 2012-03-26 2740 { :::::: The code at line 2732 was first introduced by commit :::::: 2a1d775201081c400d7e60ceb8e5ac887d11b1f7 drm/i915: Prefer list_first_entry_or_null :::::: TO: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> :::::: CC: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel