[PATCH] drm/tilcdc: Set framebuffer DMA address to HW only if CRTC is enabled

kbuild test robot lkp at intel.com
Sun Mar 12 20:08:54 UTC 2017


Hi Jyri,

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.11-rc1 next-20170310]
[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/Jyri-Sarha/drm-tilcdc-Set-framebuffer-DMA-address-to-HW-only-if-CRTC-is-enabled/20170312-201749
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: arm-davinci_all_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

   drivers/gpu/drm/tilcdc/tilcdc_crtc.c:2:4: error: return type defaults to 'int' [-Werror=return-type]
     * Copyright (C) 2012 Texas Instruments
       ^~~~~~~~~
>> drivers/gpu/drm/tilcdc/tilcdc_crtc.c:2:4: error: function declaration isn't a prototype [-Werror=strict-prototypes]
   drivers/gpu/drm/tilcdc/tilcdc_crtc.c: In function 'Copyright':
>> drivers/gpu/drm/tilcdc/tilcdc_crtc.c:2:18: error: expected declaration specifiers before numeric constant
     * Copyright (C) 2012 Texas Instruments
                     ^~~~
>> drivers/gpu/drm/tilcdc/tilcdc_crtc.c:3:32: error: stray '@' in program
     * Author: Rob Clark <robdclark at gmail.com>
                                   ^
>> drivers/gpu/drm/tilcdc/tilcdc_crtc.c:5:35: error: unknown type name 'you'
     * This program is free software; you can redistribute it and/or modify it
                                      ^~~
>> drivers/gpu/drm/tilcdc/tilcdc_crtc.c:5:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'redistribute'
     * This program is free software; you can redistribute it and/or modify it
                                              ^~~~~~~~~~~~
>> drivers/gpu/drm/tilcdc/tilcdc_crtc.c:10:18: error: unknown type name 'without'
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
                     ^~~~~~~
>> drivers/gpu/drm/tilcdc/tilcdc_crtc.c:10:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'the'
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
                                  ^~~
   In file included from include/asm-generic/int-ll64.h:10:0,
                    from arch/arm/include/uapi/asm/types.h:4,
                    from include/uapi/linux/types.h:4,
                    from include/linux/types.h:5,
                    from include/linux/mod_devicetable.h:11,
                    from include/linux/i2c.h:29,
                    from include/drm/drm_crtc.h:28,
                    from include/drm/drm_atomic.h:31,
                    from drivers/gpu/drm/tilcdc/tilcdc_crtc.c:18:
>> include/uapi/asm-generic/int-ll64.h:20:23: error: storage class specified for parameter '__u8'
    typedef unsigned char __u8;
                          ^~~~
>> include/uapi/asm-generic/int-ll64.h:22:26: error: storage class specified for parameter '__s16'
    typedef __signed__ short __s16;
                             ^~~~~
>> include/uapi/asm-generic/int-ll64.h:23:24: error: storage class specified for parameter '__u16'
    typedef unsigned short __u16;
                           ^~~~~
>> include/uapi/asm-generic/int-ll64.h:25:24: error: storage class specified for parameter '__s32'
    typedef __signed__ int __s32;
                           ^~~~~
>> include/uapi/asm-generic/int-ll64.h:26:22: error: storage class specified for parameter '__u32'
    typedef unsigned int __u32;
                         ^~~~~
>> include/uapi/asm-generic/int-ll64.h:29:1: error: expected declaration specifiers before '__extension__'
    __extension__ typedef __signed__ long long __s64;
    ^~~~~~~~~~~~~
   include/uapi/asm-generic/int-ll64.h:30:1: error: expected declaration specifiers before '__extension__'
    __extension__ typedef unsigned long long __u64;
    ^~~~~~~~~~~~~
   In file included from arch/arm/include/uapi/asm/types.h:4:0,
                    from include/uapi/linux/types.h:4,
                    from include/linux/types.h:5,
                    from include/linux/mod_devicetable.h:11,
                    from include/linux/i2c.h:29,
                    from include/drm/drm_crtc.h:28,
                    from include/drm/drm_atomic.h:31,
                    from drivers/gpu/drm/tilcdc/tilcdc_crtc.c:18:
>> include/asm-generic/int-ll64.h:15:21: error: storage class specified for parameter 's8'
    typedef signed char s8;
                        ^~
>> include/asm-generic/int-ll64.h:16:23: error: storage class specified for parameter 'u8'
    typedef unsigned char u8;
                          ^~
>> include/asm-generic/int-ll64.h:18:22: error: storage class specified for parameter 's16'
    typedef signed short s16;
                         ^~~
>> include/asm-generic/int-ll64.h:19:24: error: storage class specified for parameter 'u16'
    typedef unsigned short u16;
                           ^~~
>> include/asm-generic/int-ll64.h:21:20: error: storage class specified for parameter 's32'
    typedef signed int s32;
                       ^~~
>> include/asm-generic/int-ll64.h:22:22: error: storage class specified for parameter 'u32'
    typedef unsigned int u32;
                         ^~~
>> include/asm-generic/int-ll64.h:24:26: error: storage class specified for parameter 's64'
    typedef signed long long s64;
                             ^~~

vim +2 drivers/gpu/drm/tilcdc/tilcdc_crtc.c

244d17e7 Jyri Sarha 2017-03-11   1  *
16ea975e Rob Clark  2013-01-08  @2   * Copyright (C) 2012 Texas Instruments
16ea975e Rob Clark  2013-01-08  @3   * Author: Rob Clark <robdclark at gmail.com>
16ea975e Rob Clark  2013-01-08   4   *
16ea975e Rob Clark  2013-01-08  @5   * This program is free software; you can redistribute it and/or modify it
16ea975e Rob Clark  2013-01-08   6   * under the terms of the GNU General Public License version 2 as published by
16ea975e Rob Clark  2013-01-08   7   * the Free Software Foundation.
16ea975e Rob Clark  2013-01-08   8   *
16ea975e Rob Clark  2013-01-08   9   * This program is distributed in the hope that it will be useful, but WITHOUT
16ea975e Rob Clark  2013-01-08 @10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16ea975e Rob Clark  2013-01-08  11   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
16ea975e Rob Clark  2013-01-08  12   * more details.
16ea975e Rob Clark  2013-01-08  13   *

:::::: The code at line 2 was first introduced by commit
:::::: 16ea975eac671fa40a78594a116a44fef8e3f4a9 drm/tilcdc: add TI LCD Controller DRM driver (v4)

:::::: TO: Rob Clark <robdclark at gmail.com>
:::::: CC: Rob Clark <robdclark at gmail.com>

---
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: 24325 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170313/49d2b399/attachment-0001.gz>


More information about the dri-devel mailing list