linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mikko Perttunen <mperttunen@nvidia.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Thierry Reding <treding@nvidia.com>
Subject: [linux-next:master 8480/8897] drivers/staging/media/tegra-video/vi.c:1180:4: error: implicit declaration of function 'host1x_syncpt_free'; did you mean 'host1x_syncpt_read'?
Date: Thu, 1 Apr 2021 01:20:03 +0800	[thread overview]
Message-ID: <202104010100.d5AQqiwm-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4851 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   7a43c78d0573e0bbbb0456b033e2b9a895b89464
commit: 3028a00c55bf4b655864bf9a64ea7a07a003afdc [8480/8897] gpu: host1x: Cleanup and refcounting for syncpoints
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3028a00c55bf4b655864bf9a64ea7a07a003afdc
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 3028a00c55bf4b655864bf9a64ea7a07a003afdc
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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

All errors (new ones prefixed by >>):

   drivers/staging/media/tegra-video/vi.c: In function 'tegra_channel_host1x_syncpt_init':
>> drivers/staging/media/tegra-video/vi.c:1180:4: error: implicit declaration of function 'host1x_syncpt_free'; did you mean 'host1x_syncpt_read'? [-Werror=implicit-function-declaration]
    1180 |    host1x_syncpt_free(fs_sp);
         |    ^~~~~~~~~~~~~~~~~~
         |    host1x_syncpt_read
   cc1: some warnings being treated as errors


vim +1180 drivers/staging/media/tegra-video/vi.c

3d8a97eabef088 Sowjanya Komatineni 2020-05-04  1160  
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1161  static int tegra_channel_host1x_syncpt_init(struct tegra_vi_channel *chan)
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1162  {
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1163  	struct tegra_vi *vi = chan->vi;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1164  	unsigned long flags = HOST1X_SYNCPT_CLIENT_MANAGED;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1165  	struct host1x_syncpt *fs_sp;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1166  	struct host1x_syncpt *mw_sp;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1167  	int ret, i;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1168  
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1169  	for (i = 0; i < chan->numgangports; i++) {
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1170  		fs_sp = host1x_syncpt_request(&vi->client, flags);
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1171  		if (!fs_sp) {
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1172  			dev_err(vi->dev, "failed to request frame start syncpoint\n");
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1173  			ret = -ENOMEM;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1174  			goto free_syncpts;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1175  		}
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1176  
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1177  		mw_sp = host1x_syncpt_request(&vi->client, flags);
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1178  		if (!mw_sp) {
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1179  			dev_err(vi->dev, "failed to request memory ack syncpoint\n");
2ac4035a78c933 Sowjanya Komatineni 2020-12-11 @1180  			host1x_syncpt_free(fs_sp);
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1181  			ret = -ENOMEM;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1182  			goto free_syncpts;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1183  		}
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1184  
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1185  		chan->frame_start_sp[i] = fs_sp;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1186  		chan->mw_ack_sp[i] = mw_sp;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1187  		spin_lock_init(&chan->sp_incr_lock[i]);
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1188  	}
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1189  
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1190  	return 0;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1191  
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1192  free_syncpts:
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1193  	tegra_channel_host1x_syncpts_free(chan);
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1194  	return ret;
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1195  }
2ac4035a78c933 Sowjanya Komatineni 2020-12-11  1196  

:::::: The code at line 1180 was first introduced by commit
:::::: 2ac4035a78c93330025d005009c132f5552ce4bc media: tegra-video: Add support for x8 captures with gang ports

:::::: TO: Sowjanya Komatineni <skomatineni@nvidia.com>
:::::: CC: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 76853 bytes --]

                 reply	other threads:[~2021-03-31 17:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202104010100.d5AQqiwm-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=mperttunen@nvidia.com \
    --cc=treding@nvidia.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox