[Intel-gfx] [drm-intel:drm-intel-nightly 902/919] drivers/gpu/drm/drm_fb_cma_helper.c:312:20: error: 'struct drm_framebuffer' has no member named 'fomat'

kbuild test robot fengguang.wu at intel.com
Thu Dec 15 15:47:32 UTC 2016


tree:   git://anongit.freedesktop.org/drm-intel drm-intel-nightly
head:   64353e762935a7ad82867be0e4e80ff2f7bc97e4
commit: ca984a998ad3a3b6bf8bf0d89861a6537551aaf2 [902/919] drm/fb_cma_helper: Replace drm_format_info() with fb->format
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ca984a998ad3a3b6bf8bf0d89861a6537551aaf2
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/drm_fb_cma_helper.c: In function 'drm_fb_cma_describe':
>> drivers/gpu/drm/drm_fb_cma_helper.c:312:20: error: 'struct drm_framebuffer' has no member named 'fomat'
     for (i = 0; i < fb->fomat->num_planes; i++) {
                       ^

vim +312 drivers/gpu/drm/drm_fb_cma_helper.c

   306		struct drm_fb_cma *fb_cma = to_fb_cma(fb);
   307		int i;
   308	
   309		seq_printf(m, "fb: %dx%d@%4.4s\n", fb->width, fb->height,
   310				(char *)&fb->pixel_format);
   311	
 > 312		for (i = 0; i < fb->fomat->num_planes; i++) {
   313			seq_printf(m, "   %d: offset=%d pitch=%d, obj: ",
   314					i, fb->offsets[i], fb->pitches[i]);
   315			drm_gem_cma_describe(fb_cma->obj[i], m);

---
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: 38581 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161215/068967cf/attachment-0001.gz>


More information about the Intel-gfx mailing list