lkml.org 
[lkml]   [2022]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[mszyprow:v5.18-next-20220511-dsi-rework 30/35] drivers/gpu/drm/drm_mipi_dsi.c:1233: warning: expecting prototype for mipi_dsi_init(). Prototype was for mipi_dsi_host_init() instead
tree:   https://github.com/mszyprow/linux.git v5.18-next-20220511-dsi-rework
head: d29c9c083847e486080eaa98808c232b9937f85f
commit: b34dc79ad31fa0497197519a9060be3ef2e72484 [30/35] drm/mipi-dsi: add support for host initialize callbacks
config: x86_64-randconfig-a001-20220509 (https://download.01.org/0day-ci/archive/20220512/202205121652.A7CaHuUB-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 18dd123c56754edf62c7042dcf23185c3727610f)
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
# https://github.com/mszyprow/linux/commit/b34dc79ad31fa0497197519a9060be3ef2e72484
git remote add mszyprow https://github.com/mszyprow/linux.git
git fetch --no-tags mszyprow v5.18-next-20220511-dsi-rework
git checkout b34dc79ad31fa0497197519a9060be3ef2e72484
# 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=x86_64 SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/drm_mipi_dsi.c:1233: warning: expecting prototype for mipi_dsi_init(). Prototype was for mipi_dsi_host_init() instead


vim +1233 drivers/gpu/drm/drm_mipi_dsi.c

1225
1226 /**
1227 * mipi_dsi_init() - initialize MIPI DSI host
1228 * @dsi: DSI peripheral device
1229 *
1230 * Return: 0 on success or a negative error code on failure.
1231 */
1232 int mipi_dsi_host_init(struct mipi_dsi_device *dsi)
> 1233 {
1234 const struct mipi_dsi_host_ops *ops = dsi->host->ops;
1235
1236 if (!ops)
1237 return -ENOSYS;
1238 if (!ops->init)
1239 return 0;
1240
1241 return ops->init(dsi->host);
1242 }
1243 EXPORT_SYMBOL(mipi_dsi_host_init);
1244

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-05-12 10:52    [W:0.027 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site