tree: git://linuxtv.org/mchehab/experimental tvp5150-5
head: c223c451df23ac71a844d05aab65ede057b70eb0
commit: 71c04fa3b90605e64a5bf2ea9b686c2d64f0066b [131/138] tvp5150: add input
source selection of_graph support
config: x86_64-randconfig-s5-09181631 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 71c04fa3b90605e64a5bf2ea9b686c2d64f0066b
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
>> drivers/media//i2c/tvp5150.c:71:32: error: 'TVP5150_NUM_PADS' undeclared
>> here (not in a function); did you mean 'TVP5150_H_MAX'?
struct device_node *endpoints[TVP5150_NUM_PADS + 1];
^~~~~~~~~~~~~~~~
TVP5150_H_MAX
drivers/media//i2c/tvp5150.c: In function 'tvp5150_fill_fmt':
>> drivers/media//i2c/tvp5150.c:1017:33: error: 'TVP5150_PAD_VID_OUT'
>> undeclared (first use in this function); did you mean 'TVP5150_SVIDEO'?
if (!format || (format->pad != TVP5150_PAD_VID_OUT))
^~~~~~~~~~~~~~~~~~~
TVP5150_SVIDEO
drivers/media//i2c/tvp5150.c:1017:33: note: each undeclared identifier is
reported only once for each function it appears in
drivers/media//i2c/tvp5150.c: In function 'tvp5150_mc_init':
>> drivers/media//i2c/tvp5150.c:1840:9: error: 'ret' undeclared (first use in
>> this function); did you mean 'net'?
return ret;
^~~
net
drivers/media//i2c/tvp5150.c:1839:1: warning: label 'out' defined but not
used [-Wunused-label]
out:
^~~
drivers/media//i2c/tvp5150.c: In function 'tvp5150_of_valid_input':
>> drivers/media//i2c/tvp5150.c:1852:7: error: 'TVP5150_PAD_AIP1A' undeclared
>> (first use in this function); did you mean 'TVP5150_VDPOE'?
case TVP5150_PAD_AIP1A:
^~~~~~~~~~~~~~~~~
TVP5150_VDPOE
>> drivers/media//i2c/tvp5150.c:1860:7: error: 'TVP5150_PAD_AIP1B' undeclared
>> (first use in this function); did you mean 'TVP5150_PAD_AIP1A'?
case TVP5150_PAD_AIP1B:
^~~~~~~~~~~~~~~~~
TVP5150_PAD_AIP1A
drivers/media//i2c/tvp5150.c: In function 'tvp5150_parse_dt':
drivers/media//i2c/tvp5150.c:1904:8: error: 'TVP5150_PAD_AIP1A' undeclared
(first use in this function); did you mean 'TVP5150_VDPOE'?
case TVP5150_PAD_AIP1A:
^~~~~~~~~~~~~~~~~
TVP5150_VDPOE
drivers/media//i2c/tvp5150.c:1905:8: error: 'TVP5150_PAD_AIP1B' undeclared
(first use in this function); did you mean 'TVP5150_PAD_AIP1A'?
case TVP5150_PAD_AIP1B:
^~~~~~~~~~~~~~~~~
TVP5150_PAD_AIP1A
>> drivers/media//i2c/tvp5150.c:1915:8: error: 'TVP5150_PAD_VID_OUT' undeclared
>> (first use in this function); did you mean 'TVP5150_PAD_AIP1B'?
case TVP5150_PAD_VID_OUT:
^~~~~~~~~~~~~~~~~~~
TVP5150_PAD_AIP1B
drivers/media//i2c/tvp5150.c:1947:9: error: 'struct tvp5150' has no member
named 'connectors_num'
decoder->connectors_num = in;
^~
drivers/media//i2c/tvp5150.c: In function 'tvp5150_mc_init':
drivers/media//i2c/tvp5150.c:1841:1: warning: control reaches end of
non-void function [-Wreturn-type]
}
^
vim +71 drivers/media//i2c/tvp5150.c
67
68 struct tvp5150 {
69 struct v4l2_subdev sd;
70 /* additional additional endpoint for the svideo connector */
> 71 struct device_node *endpoints[TVP5150_NUM_PADS + 1];
72 unsigned int endpoints_num;
73 #if defined(CONFIG_MEDIA_CONTROLLER)
74 struct media_pad pads[TVP5150_NUM_PADS];
75 int pads_state[TVP5150_NUM_PADS];
76 struct tvp5150_connector *connectors;
77 int connectors_num;
78 bool modify_second_link;
79 #endif
80 struct v4l2_ctrl_handler hdl;
81 struct v4l2_rect rect;
82 struct regmap *regmap;
83 int irq;
84
85 v4l2_std_id norm; /* Current set standard */
86 v4l2_std_id detected_norm;
87 u32 input;
88 u32 output;
89 u32 oe;
90 int enable;
91 bool lock;
92
93 u16 dev_id;
94 u16 rom_ver;
95
96 enum v4l2_mbus_type mbus_type;
97 };
98
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
