* [experimental:tvp5150-5 131/138] drivers/media/i2c/tvp5150.c:71:32: error: 'TVP5150_NUM_PADS' undeclared here (not in a function)
@ 2018-09-18 6:14 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-09-18 6:14 UTC (permalink / raw)
To: Marco Felsch; +Cc: kbuild-all, Mauro Carvalho Chehab, linux-media
[-- Attachment #1: Type: text/plain, Size: 3868 bytes --]
tree: git://linuxtv.org/mchehab/experimental tvp5150-5
head: c223c451df23ac71a844d05aab65ede057b70eb0
commit: 71c04fa3b90605e64a5bf2ea9b686c2d64f0066b [131/138] tvp5150: add input source selection of_graph support
config: i386-randconfig-s0-09171149 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
git checkout 71c04fa3b90605e64a5bf2ea9b686c2d64f0066b
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
>> drivers/media/i2c/tvp5150.c:71:32: error: 'TVP5150_NUM_PADS' undeclared here (not in a function)
struct device_node *endpoints[TVP5150_NUM_PADS + 1];
^~~~~~~~~~~~~~~~
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)
if (!format || (format->pad != TVP5150_PAD_VID_OUT))
^~~~~~~~~~~~~~~~~~~
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)
return ret;
^~~
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)
case TVP5150_PAD_AIP1A:
^~~~~~~~~~~~~~~~~
>> drivers/media/i2c/tvp5150.c:1860:7: error: 'TVP5150_PAD_AIP1B' undeclared (first use in this function)
case TVP5150_PAD_AIP1B:
^~~~~~~~~~~~~~~~~
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)
case TVP5150_PAD_AIP1A:
^~~~~~~~~~~~~~~~~
drivers/media/i2c/tvp5150.c:1905:8: error: 'TVP5150_PAD_AIP1B' undeclared (first use in this function)
case TVP5150_PAD_AIP1B:
^~~~~~~~~~~~~~~~~
drivers/media/i2c/tvp5150.c:1915:8: error: 'TVP5150_PAD_VID_OUT' undeclared (first use in this function)
case TVP5150_PAD_VID_OUT:
^~~~~~~~~~~~~~~~~~~
>> 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 +/TVP5150_NUM_PADS +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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35463 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-09-18 11:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-18 6:14 [experimental:tvp5150-5 131/138] drivers/media/i2c/tvp5150.c:71:32: error: 'TVP5150_NUM_PADS' undeclared here (not in a function) kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).