tree:
https://github.com/intel/linux-intel-lts.git 4.19/android_r
head: 968adf904a287574c10a384c2e3b1e88994ad843
commit: b652a52d36a85d1b731921ba08e701d7150ce200 [19120/21556] Merge branch
'aosp/android-4.19-stable' into android_r
config: x86_64-randconfig-a013-20210201 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
275c6af7d7f1ed63a03d05b4484413e447133269)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://github.com/intel/linux-intel-lts/commit/b652a52d36a85d1b731921ba0...
git remote add intel-linux-intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 4.19/android_r
git checkout b652a52d36a85d1b731921ba08e701d7150ce200
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/media/pci/intel/ipu3/ipu3-cio2.c:15:
In file included from include/linux/delay.h:22:
In file included from include/linux/kernel.h:10:
In file included from include/linux/bitops.h:19:
In file included from arch/x86/include/asm/bitops.h:510:
In file included from include/asm-generic/bitops/le.h:6:
In file included from arch/x86/include/uapi/asm/byteorder.h:5:
In file included from include/linux/byteorder/little_endian.h:11:
> include/linux/byteorder/generic.h:195:16: warning: comparison of
integers of different signs: 'int' and 'size_t' (aka 'unsigned
long') [-Wsign-compare]
for (i = 0; i < len; i++)
~ ^ ~~~
include/linux/byteorder/generic.h:203:16: warning: comparison of integers of different
signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
for (i = 0; i < len; i++)
~ ^ ~~~
In file included from drivers/media/pci/intel/ipu3/ipu3-cio2.c:16:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:5:
In file included from include/linux/preempt.h:81:
In file included from arch/x86/include/asm/preempt.h:7:
> include/linux/thread_info.h:141:29: warning: comparison of
integers of different signs: 'int' and 'size_t' (aka 'unsigned
long') [-Wsign-compare]
if (unlikely(sz >= 0 && sz <
bytes)) {
~~ ^ ~~~~~
include/linux/compiler.h:77:42: note: expanded from macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from drivers/media/pci/intel/ipu3/ipu3-cio2.c:17:
In file included from include/linux/module.h:13:
In file included from include/linux/kmod.h:22:
In file included from include/linux/umh.h:4:
In file included from include/linux/gfp.h:6:
> include/linux/mmzone.h:1005:44: warning: comparison of integers
of different signs: 'int' and 'enum zone_type' [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
include/linux/compiler.h:76:40: note: expanded from macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from drivers/media/pci/intel/ipu3/ipu3-cio2.c:18:
In file included from include/linux/pci.h:1365:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:20:
include/linux/percpu-refcount.h:183:3: warning: comparison of integers of different
signs: 'unsigned long' and 'int' [-Wsign-compare]
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:510:33: note: expanded from macro 'this_cpu_add'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:381:11: note: expanded from macro
'__pcpu_size_call'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<scratch space>:165:1: note: expanded from here
this_cpu_add_8
^
arch/x86/include/asm/percpu.h:480:35: note: expanded from macro
'this_cpu_add_8'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/include/asm/percpu.h:131:31: note: expanded from macro
'percpu_add_op'
((val) == 1 || (val) == -1)) ? \
~~~ ^ ~~
In file included from drivers/media/pci/intel/ipu3/ipu3-cio2.c:18:
In file included from include/linux/pci.h:1365:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:20:
include/linux/percpu-refcount.h:282:3: warning: comparison of integers of different
signs: 'unsigned long' and 'int' [-Wsign-compare]
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:520:33: note: expanded from macro 'this_cpu_sub'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:510:33: note: expanded from macro 'this_cpu_add'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:381:11: note: expanded from macro
'__pcpu_size_call'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<scratch space>:325:1: note: expanded from here
this_cpu_add_8
^
arch/x86/include/asm/percpu.h:480:35: note: expanded from macro
'this_cpu_add_8'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/include/asm/percpu.h:131:31: note: expanded from macro
'percpu_add_op'
((val) == 1 || (val) == -1)) ? \
~~~ ^ ~~
In file included from drivers/media/pci/intel/ipu3/ipu3-cio2.c:18:
In file included from include/linux/pci.h:1365:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:26:
In file included from include/linux/page_ref.h:7:
> include/linux/page-flags.h:163:21: warning: comparison of
integers of different signs: 'const unsigned long' and 'long'
[-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~
> drivers/media/pci/intel/ipu3/ipu3-cio2.c:862:16: warning:
comparison of integers of different signs: 'int' and 'unsigned int'
[-Wsign-compare]
for (i = 0; i < lops; i++) {
~ ^ ~~~~
8 warnings generated.
--
> drivers/gpu/drm/i915/intel_hdcp.c:183:28: error: no previous
prototype for function 'conn_to_dig_port' [-Werror,-Wmissing-prototypes]
struct intel_digital_port *conn_to_dig_port(struct intel_connector *connector)
^
drivers/gpu/drm/i915/intel_hdcp.c:183:1: note: declare 'static' if the function
is not intended to be used outside of this translation unit
struct intel_digital_port *conn_to_dig_port(struct intel_connector *connector)
^
static
> drivers/gpu/drm/i915/intel_hdcp.c:846:5: error: no previous
prototype for function 'intel_hdcp_enable' [-Werror,-Wmissing-prototypes]
int intel_hdcp_enable(struct intel_connector *connector)
^
drivers/gpu/drm/i915/intel_hdcp.c:846:1: note: declare 'static' if the function
is not intended to be used outside of this translation unit
int intel_hdcp_enable(struct intel_connector *connector)
^
static
> drivers/gpu/drm/i915/intel_hdcp.c:858:5: error: no previous
prototype for function 'intel_hdcp_disable' [-Werror,-Wmissing-prototypes]
int intel_hdcp_disable(struct intel_connector *connector)
^
drivers/gpu/drm/i915/intel_hdcp.c:858:1: note: declare 'static' if the function
is not intended to be used outside of this translation unit
int intel_hdcp_disable(struct intel_connector *connector)
^
static
3 errors generated.
--
> drivers/gpu/drm/i915/i915_gem_gvtbuffer.c:116:1: error: no
previous prototype for function 'i915_gem_object_create_gvtbuffer'
[-Werror,-Wmissing-prototypes]
i915_gem_object_create_gvtbuffer(struct drm_device
*dev,
^
drivers/gpu/drm/i915/i915_gem_gvtbuffer.c:115:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
struct drm_i915_gem_object *
^
static
1 error generated.
--
> drivers/gpu/drm/i915/gvt/display.c:527:5: error: no previous
prototype for function 'bxt_check_planes' [-Werror,-Wmissing-prototypes]
int bxt_check_planes(struct intel_vgpu *vgpu, int pipe)
^
drivers/gpu/drm/i915/gvt/display.c:527:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
int bxt_check_planes(struct intel_vgpu *vgpu, int pipe)
^
static
> drivers/gpu/drm/i915/gvt/display.c:543:6: error: no previous
prototype for function 'intel_gvt_init_pipe_info' [-Werror,-Wmissing-prototypes]
void intel_gvt_init_pipe_info(struct intel_gvt *gvt)
^
drivers/gpu/drm/i915/gvt/display.c:543:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
void intel_gvt_init_pipe_info(struct intel_gvt *gvt)
^
static
> drivers/gpu/drm/i915/gvt/display.c:568:5: error: no previous
prototype for function 'setup_virtual_monitors' [-Werror,-Wmissing-prototypes]
int setup_virtual_monitors(struct intel_vgpu *vgpu)
^
drivers/gpu/drm/i915/gvt/display.c:568:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
int setup_virtual_monitors(struct intel_vgpu *vgpu)
^
static
> drivers/gpu/drm/i915/gvt/display.c:606:6: error: no previous
prototype for function 'clean_virtual_monitors' [-Werror,-Wmissing-prototypes]
void clean_virtual_monitors(struct intel_vgpu *vgpu)
^
drivers/gpu/drm/i915/gvt/display.c:606:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
void clean_virtual_monitors(struct intel_vgpu *vgpu)
^
static
4 errors generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for FB_BACKLIGHT
Depends on HAS_IOMEM && FB
Selected by
- DRM_NOUVEAU && HAS_IOMEM && DRM && PCI && MMU
&& DRM_NOUVEAU_BACKLIGHT
vim +/conn_to_dig_port +183 drivers/gpu/drm/i915/intel_hdcp.c
ee5e5e7a5e0fde Sean Paul 2018-01-08 182
54c9b1c8df1df8 Romli, Khairul Anuar 2018-10-09 @183 struct intel_digital_port
*conn_to_dig_port(struct intel_connector *connector)
54c9b1c8df1df8 Romli, Khairul Anuar 2018-10-09 184 {
54c9b1c8df1df8 Romli, Khairul Anuar 2018-10-09 185 return
enc_to_dig_port(&intel_attached_encoder(&connector->base)->base);
54c9b1c8df1df8 Romli, Khairul Anuar 2018-10-09 186 }
54c9b1c8df1df8 Romli, Khairul Anuar 2018-10-09 187
:::::: The code at line 183 was first introduced by commit
:::::: 54c9b1c8df1df89c0173aad2d559884a305c797c drm/i915: Passing the intel_connector to
HDCP auth
:::::: TO: Romli, Khairul Anuar <khairul.anuar.romli(a)intel.com>
:::::: CC: Pan, Kris <kris.pan(a)intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org