tree: git://linuxtv.org/hverkuil/media_tree.git dp-mst-cec head: 5f7a53b4332a55f79cace13e261c087f5bae1463 commit: 5f7a53b4332a55f79cace13e261c087f5bae1463 [5/5] wip config: hexagon-randconfig-r013-20221019 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) 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 git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git git fetch --no-tags hverkuil-media-tree dp-mst-cec git checkout 5f7a53b4332a55f79cace13e261c087f5bae1463 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/display/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/display/drm_dp_mst_topology.c:2284:95: warning: format specifies type 'long' but the argument has type 'ssize_t' (aka 'int') [-Wformat] pr_info("drm_dp_mst_dpcd_read %px %px %d %ld\n", aux, port, !!port->mgr->cbs->poll_hpd_irq, s); ~~~ ^ %zd include/linux/printk.h:537:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:464:60: note: expanded from macro 'printk' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:436:19: note: expanded from macro 'printk_index_wrap' _p_func(_fmt, ##__VA_ARGS__); \ ~~~~ ^~~~~~~~~~~ drivers/gpu/drm/display/drm_dp_mst_topology.c:3773:1: warning: unused function 'drm_dp_mst_aux_transfer' [-Wunused-function] drm_dp_mst_aux_transfer(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) ^ 2 warnings generated. -- >> drivers/gpu/drm/display/drm_dp_aux_dev.c:180:77: warning: format specifies type 'long' but the argument has type 'ssize_t' (aka 'int') [-Wformat] pr_info("drm_dp_aux %px %d %ld\n", aux_dev->aux, aux_dev->aux->is_remote, res); ~~~ ^~~ %zd include/linux/printk.h:537:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:464:60: note: expanded from macro 'printk' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:436:19: note: expanded from macro 'printk_index_wrap' _p_func(_fmt, ##__VA_ARGS__); \ ~~~~ ^~~~~~~~~~~ 1 warning generated. vim +2284 drivers/gpu/drm/display/drm_dp_mst_topology.c 2260 2261 /** 2262 * drm_dp_mst_dpcd_read() - read a series of bytes from the DPCD via sideband 2263 * @aux: Fake sideband AUX CH 2264 * @offset: address of the (first) register to read 2265 * @buffer: buffer to store the register values 2266 * @size: number of bytes in @buffer 2267 * 2268 * Performs the same functionality for remote devices via 2269 * sideband messaging as drm_dp_dpcd_read() does for local 2270 * devices via actual AUX CH. 2271 * 2272 * Return: Number of bytes read, or negative error code on failure. 2273 */ 2274 ssize_t drm_dp_mst_dpcd_read(struct drm_dp_aux *aux, 2275 unsigned int offset, void *buffer, size_t size) 2276 { 2277 struct drm_dp_mst_port *port = container_of(aux, struct drm_dp_mst_port, 2278 aux); 2279 ssize_t s; 2280 2281 s = drm_dp_send_dpcd_read(port->mgr, port, 2282 offset, size, buffer); 2283 if (s < 0) > 2284 pr_info("drm_dp_mst_dpcd_read %px %px %d %ld\n", aux, port, !!port->mgr->cbs->poll_hpd_irq, s); 2285 return s; 2286 } 2287 -- 0-DAY CI Kernel Test Service https://01.org/lkp