All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: 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 05:35:28 +0800	[thread overview]
Message-ID: <202205120512.Q6FPhYo7-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: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20220512/202205120512.Q6FPhYo7-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 11.3.0
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=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k 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

             reply	other threads:[~2022-05-11 21:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11 21:35 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-12  8:50 [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=202205120512.Q6FPhYo7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --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.