[Intel-gfx] [PATCH 16/21] drm/i915/selftests: huge page tests
kbuild test robot
lkp at intel.com
Thu Jul 27 08:13:27 UTC 2017
Hi Matthew,
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20170726]
[cannot apply to v4.13-rc2]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Matthew-Auld/huge-gtt-pages/20170727-150519
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-x013-201730 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from include/linux/printk.h:6:0,
from include/linux/kernel.h:13,
from include/linux/list.h:8,
from include/linux/agp_backend.h:33,
from include/drm/drmP.h:35,
from drivers/gpu/drm/i915/i915_gem.c:28:
drivers/gpu/drm/i915/selftests/huge_pages.c: In function 'igt_mock_ppgtt_huge_fill':
include/linux/kern_levels.h:4:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:11:22: note: in expansion of macro 'KERN_SOH'
#define KERN_WARNING KERN_SOH "4" /* warning conditions */
^~~~~~~~
>> drivers/gpu/drm/i915/i915_selftest.h:102:21: note: in expansion of macro 'KERN_WARNING'
__igt_timeout((t), KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~~
>> drivers/gpu/drm/i915/selftests/huge_pages.c:249:7: note: in expansion of macro 'igt_timeout'
if (igt_timeout(end_time,
^~~~~~~~~~~
In file included from drivers/gpu/drm/i915/i915_gem.c:5388:0:
drivers/gpu/drm/i915/selftests/huge_pages.c: In function 'get_largest_page_size':
>> drivers/gpu/drm/i915/selftests/huge_pages.c:51:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
vim +/KERN_WARNING +102 drivers/gpu/drm/i915/i915_selftest.h
953c7f82e Chris Wilson 2017-02-13 100
953c7f82e Chris Wilson 2017-02-13 101 #define igt_timeout(t, fmt, ...) \
953c7f82e Chris Wilson 2017-02-13 @102 __igt_timeout((t), KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
953c7f82e Chris Wilson 2017-02-13 103
:::::: The code at line 102 was first introduced by commit
:::::: 953c7f82eb890085c60dbe22578e883d6837c674 drm/i915: Provide a hook for selftests
:::::: TO: Chris Wilson <chris at chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris at chris-wilson.co.uk>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 29529 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20170727/5b1419d9/attachment-0001.gz>
More information about the Intel-gfx
mailing list