From: kernel test robot <lkp@intel.com>
To: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
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
Date: Thu, 12 May 2022 16:50:04 +0800 [thread overview]
Message-ID: <202205121652.A7CaHuUB-lkp@intel.com> (raw)
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
next reply other threads:[~2022-05-12 8:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 8:50 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-05-11 21:35 [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 kernel test robot
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=202205121652.A7CaHuUB-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=m.szyprowski@samsung.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.