From: kbuild test robot <lkp@intel.com>
Cc: linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org,
kbuild-all@01.org, Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Dariusz Marcinkiewicz <darekm@google.com>,
Cheng-yi Chiang <cychiang@chromium.org>
Subject: Re: [PATCHv8 12/13] tda998x: use cec_notifier_conn_(un)register
Date: Tue, 25 Jun 2019 06:37:12 +0800 [thread overview]
Message-ID: <201906250648.Ws48AT5I%lkp@intel.com> (raw)
In-Reply-To: <20190624160330.38048-13-hverkuil-cisco@xs4all.nl>
[-- Attachment #1: Type: text/plain, Size: 4066 bytes --]
Hi Hans,
I love your patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v5.2-rc6 next-20190621]
[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/Hans-Verkuil/cec-improve-notifier-support-add-connector-info/20190625-043917
base: git://linuxtv.org/media_tree.git master
config: x86_64-rhel-7.2 (attached as .config)
compiler: clang version 9.0.0 (git://gitmirror/llvm_project fb2bd4a9398b35ee4f732ea0847d9c1226fc4cf3)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu//drm/i2c/tda998x_drv.c:1292:30: error: incompatible pointer types passing 'struct cec_connector_info *' to parameter of type 'const struct drm_connector *' [-Werror,-Wincompatible-pointer-types]
cec_fill_conn_info_from_drm(&conn_info, connector);
^~~~~~~~~~
include/media/cec.h:381:57: note: passing argument to parameter 'connector' here
cec_fill_conn_info_from_drm(const struct drm_connector *connector,
^
>> drivers/gpu//drm/i2c/tda998x_drv.c:1292:42: error: incompatible pointer types passing 'struct drm_connector *' to parameter of type 'struct cec_connector_info *' [-Werror,-Wincompatible-pointer-types]
cec_fill_conn_info_from_drm(&conn_info, connector);
^~~~~~~~~
include/media/cec.h:382:35: note: passing argument to parameter 'conn_info' here
struct cec_connector_info *conn_info)
^
2 errors generated.
vim +1292 drivers/gpu//drm/i2c/tda998x_drv.c
1251
1252 static int tda998x_connector_init(struct tda998x_priv *priv,
1253 struct drm_device *drm)
1254 {
1255 struct drm_connector *connector = &priv->connector;
1256 struct cec_connector_info conn_info;
1257 struct i2c_board_info cec_info;
1258 int ret;
1259
1260 connector->interlace_allowed = 1;
1261
1262 if (priv->hdmi->irq)
1263 connector->polled = DRM_CONNECTOR_POLL_HPD;
1264 else
1265 connector->polled = DRM_CONNECTOR_POLL_CONNECT |
1266 DRM_CONNECTOR_POLL_DISCONNECT;
1267
1268 drm_connector_helper_add(connector, &tda998x_connector_helper_funcs);
1269 ret = drm_connector_init(drm, connector, &tda998x_connector_funcs,
1270 DRM_MODE_CONNECTOR_HDMIA);
1271 if (ret)
1272 return ret;
1273
1274 /*
1275 * Some TDA998x are actually two I2C devices merged onto one piece
1276 * of silicon: TDA9989 and TDA19989 combine the HDMI transmitter
1277 * with a slightly modified TDA9950 CEC device. The CEC device
1278 * is at the TDA9950 address, with the address pins strapped across
1279 * to the TDA998x address pins. Hence, it always has the same
1280 * offset.
1281 */
1282 memset(&cec_info, 0, sizeof(cec_info));
1283 strlcpy(cec_info.type, "tda9950", sizeof(cec_info.type));
1284 cec_info.addr = priv->cec_addr;
1285 cec_info.platform_data = &priv->cec_glue;
1286 cec_info.irq = priv->hdmi->irq;
1287
1288 priv->cec = i2c_new_device(priv->hdmi->adapter, &cec_info);
1289 if (!priv->cec)
1290 return -ENODEV;
1291
> 1292 cec_fill_conn_info_from_drm(&conn_info, connector);
1293
1294 priv->cec_notify = cec_notifier_conn_register(priv->cec_glue.parent,
1295 NULL, &conn_info);
1296 if (!priv->cec_notify)
1297 return -ENOMEM;
1298
1299 drm_connector_attach_encoder(&priv->connector,
1300 priv->bridge.encoder);
1301
1302 return 0;
1303 }
1304
---
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: 43223 bytes --]
[-- Attachment #3: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2019-06-24 22:37 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-24 16:03 [PATCHv8 00/13] cec: improve notifier support, add connector info Hans Verkuil
2019-06-24 16:03 ` [PATCHv8 01/13] cec-notifier: rename variable, check kstrdup Hans Verkuil
2019-06-25 7:07 ` [PATCHv8.1 01/13] cec-notifier: rename variables, check kstrdup and n->conn_name Hans Verkuil
2019-06-24 16:03 ` [PATCHv8 02/13] cec: add struct cec_connector_info support Hans Verkuil
2019-06-25 6:28 ` Hans Verkuil
2019-06-25 13:19 ` Dariusz Marcinkiewicz
2019-06-24 16:03 ` [PATCHv8 03/13] cec: add new notifier functions Hans Verkuil
2019-06-25 13:48 ` Dariusz Marcinkiewicz
2019-06-25 14:26 ` Hans Verkuil
2019-06-24 16:03 ` [PATCHv8 04/13] cec: expose the new connector info API Hans Verkuil
2019-06-25 13:59 ` Dariusz Marcinkiewicz
2019-06-25 14:28 ` Hans Verkuil
2019-06-24 16:03 ` [PATCHv8 05/13] cec: document CEC_ADAP_G_CONNECTOR_INFO Hans Verkuil
2019-06-24 16:03 ` [PATCHv8 06/13] drm_dp_cec: add connector info support Hans Verkuil
2019-06-24 16:03 ` [PATCHv8 07/13] drm/i915/intel_hdmi: use cec_notifier_conn_(un)register Hans Verkuil
2019-06-24 16:03 ` [PATCHv8 08/13] dw-hdmi-cec: use cec_notifier_cec_adap_(un)register Hans Verkuil
2019-06-24 16:03 ` [PATCHv8 09/13] dw-hdmi: use cec_notifier_conn_(un)register Hans Verkuil
2019-06-25 0:43 ` kbuild test robot
2019-06-24 16:03 ` [PATCHv8 10/13] meson/ao-cec: use cec_notifier_cec_adap_(un)register Hans Verkuil
2019-06-24 16:03 ` [PATCHv8 11/13] tda9950: " Hans Verkuil
2019-06-24 16:03 ` [PATCHv8 12/13] tda998x: use cec_notifier_conn_(un)register Hans Verkuil
2019-06-24 22:37 ` kbuild test robot [this message]
2019-06-24 16:03 ` [PATCHv8 13/13] drm/vc4/vc4_hdmi: fill in connector info Hans Verkuil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201906250648.Ws48AT5I%lkp@intel.com \
--to=lkp@intel.com \
--cc=cychiang@chromium.org \
--cc=darekm@google.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=kbuild-all@01.org \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox