Hi Pi-Hsun,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on 3e14f70c05cda4794901ed8f976de3a88deebcc0]
url:
https://github.com/0day-ci/linux/commits/Pi-Hsun-Shih/drm-bridge-anx7625-...
base: 3e14f70c05cda4794901ed8f976de3a88deebcc0
config: i386-randconfig-r016-20201111 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/96b15cfd320004cab18e33f081007ac3c...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Pi-Hsun-Shih/drm-bridge-anx7625-Add-anx7625-port-switching/20201112-144229
git checkout 96b15cfd320004cab18e33f081007ac3c312a30d
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: drivers/gpu/drm/bridge/analogix/anx7625.o: in function `anx7625_i2c_remove':
> drivers/gpu/drm/bridge/analogix/anx7625.c:1943: undefined
reference to `typec_mux_unregister'
> ld: drivers/gpu/drm/bridge/analogix/anx7625.c:1943: undefined reference to
`typec_mux_unregister'
> ld: drivers/gpu/drm/bridge/analogix/anx7625.c:1946: undefined reference to
`typec_switch_unregister'
ld: drivers/gpu/drm/bridge/analogix/anx7625.o: in
function `anx7625_usb_mux_set':
> drivers/gpu/drm/bridge/analogix/anx7625.c:1287: undefined
reference to `typec_mux_get_drvdata'
ld:
drivers/gpu/drm/bridge/analogix/anx7625.o: in function
`anx7625_register_usb_two_ports':
> drivers/gpu/drm/bridge/analogix/anx7625.c:1326: undefined
reference to `typec_mux_register'
ld:
drivers/gpu/drm/bridge/analogix/anx7625.o: in function `anx7625_register_usb':
> drivers/gpu/drm/bridge/analogix/anx7625.c:1266: undefined
reference to `typec_switch_register'
ld:
drivers/gpu/drm/bridge/analogix/anx7625.o: in function
`anx7625_register_usb_two_ports':
drivers/gpu/drm/bridge/analogix/anx7625.c:1340: undefined reference to
`typec_mux_unregister'
ld: drivers/gpu/drm/bridge/analogix/anx7625.o: in function
`anx7625_usb_set_orientation':
> drivers/gpu/drm/bridge/analogix/anx7625.c:1249: undefined
reference to `typec_switch_get_drvdata'
vim +1943 drivers/gpu/drm/bridge/analogix/anx7625.c
1933
1934 static int anx7625_i2c_remove(struct i2c_client *client)
1935 {
1936 struct anx7625_data *platform = i2c_get_clientdata(client);
1937 int i;
1938
1939 drm_bridge_remove(&platform->bridge);
1940
1941 if (platform->pdata.tx_rx_to_two_ports)
1942 for (i = 0; i < 2; i++)
1943 typec_mux_unregister(
1944 platform->typec_ports[i].typec_mux);
1945 else
1946 typec_switch_unregister(platform->typec_sw);
1947
1948 if (platform->pdata.intp_irq)
1949 destroy_workqueue(platform->workqueue);
1950
1951 anx7625_unregister_i2c_dummy_clients(platform);
1952
1953 kfree(platform);
1954 return 0;
1955 }
1956
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org