All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: drivers/gpu/drm/msm/adreno/a6xx_gpu.c:1643:6: error: no previous prototype for 'a6xx_gpu_set_freq'
Date: Fri, 12 Nov 2021 15:27:25 +0800	[thread overview]
Message-ID: <202111121501.hhQBNBgb-lkp@intel.com> (raw)

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

Hi Dave,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5833291ab6de9c3e2374336b51c814e515e8f3a5
commit: 970eae15600a883e4ad27dd0757b18871cc983ab BackMerge tag 'v5.15-rc7' into drm-next
date:   2 weeks ago
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=970eae15600a883e4ad27dd0757b18871cc983ab
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 970eae15600a883e4ad27dd0757b18871cc983ab
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc 

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/gpu/drm/msm/adreno/a6xx_gpu.c:1643:6: error: no previous prototype for 'a6xx_gpu_set_freq' [-Werror=missing-prototypes]
    1643 | void a6xx_gpu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp)
         |      ^~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/a6xx_gpu_set_freq +1643 drivers/gpu/drm/msm/adreno/a6xx_gpu.c

a2c3c0a54d4ccc Sharat Masetty 2018-10-04  1642  
f6f59072e82190 Rob Clark      2021-09-27 @1643  void a6xx_gpu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp)
f6f59072e82190 Rob Clark      2021-09-27  1644  {
f6f59072e82190 Rob Clark      2021-09-27  1645  	struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu);
f6f59072e82190 Rob Clark      2021-09-27  1646  	struct a6xx_gpu *a6xx_gpu = to_a6xx_gpu(adreno_gpu);
f6f59072e82190 Rob Clark      2021-09-27  1647  
f6f59072e82190 Rob Clark      2021-09-27  1648  	mutex_lock(&a6xx_gpu->gmu.lock);
f6f59072e82190 Rob Clark      2021-09-27  1649  	a6xx_gmu_set_freq(gpu, opp);
f6f59072e82190 Rob Clark      2021-09-27  1650  	mutex_unlock(&a6xx_gpu->gmu.lock);
f6f59072e82190 Rob Clark      2021-09-27  1651  }
f6f59072e82190 Rob Clark      2021-09-27  1652  

:::::: The code at line 1643 was first introduced by commit
:::::: f6f59072e821901d96c791864a07d57d8ec8d312 drm/msm/a6xx: Serialize GMU communication

:::::: TO: Rob Clark <robdclark@chromium.org>
:::::: CC: Rob Clark <robdclark@chromium.org>

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

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: unlisted-recipients:; (no To-header on input)
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Dave Airlie <airlied@redhat.com>
Subject: drivers/gpu/drm/msm/adreno/a6xx_gpu.c:1643:6: error: no previous prototype for 'a6xx_gpu_set_freq'
Date: Fri, 12 Nov 2021 15:27:25 +0800	[thread overview]
Message-ID: <202111121501.hhQBNBgb-lkp@intel.com> (raw)

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

Hi Dave,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5833291ab6de9c3e2374336b51c814e515e8f3a5
commit: 970eae15600a883e4ad27dd0757b18871cc983ab BackMerge tag 'v5.15-rc7' into drm-next
date:   2 weeks ago
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=970eae15600a883e4ad27dd0757b18871cc983ab
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 970eae15600a883e4ad27dd0757b18871cc983ab
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc 

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/gpu/drm/msm/adreno/a6xx_gpu.c:1643:6: error: no previous prototype for 'a6xx_gpu_set_freq' [-Werror=missing-prototypes]
    1643 | void a6xx_gpu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp)
         |      ^~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/a6xx_gpu_set_freq +1643 drivers/gpu/drm/msm/adreno/a6xx_gpu.c

a2c3c0a54d4ccc Sharat Masetty 2018-10-04  1642  
f6f59072e82190 Rob Clark      2021-09-27 @1643  void a6xx_gpu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp)
f6f59072e82190 Rob Clark      2021-09-27  1644  {
f6f59072e82190 Rob Clark      2021-09-27  1645  	struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu);
f6f59072e82190 Rob Clark      2021-09-27  1646  	struct a6xx_gpu *a6xx_gpu = to_a6xx_gpu(adreno_gpu);
f6f59072e82190 Rob Clark      2021-09-27  1647  
f6f59072e82190 Rob Clark      2021-09-27  1648  	mutex_lock(&a6xx_gpu->gmu.lock);
f6f59072e82190 Rob Clark      2021-09-27  1649  	a6xx_gmu_set_freq(gpu, opp);
f6f59072e82190 Rob Clark      2021-09-27  1650  	mutex_unlock(&a6xx_gpu->gmu.lock);
f6f59072e82190 Rob Clark      2021-09-27  1651  }
f6f59072e82190 Rob Clark      2021-09-27  1652  

:::::: The code at line 1643 was first introduced by commit
:::::: f6f59072e821901d96c791864a07d57d8ec8d312 drm/msm/a6xx: Serialize GMU communication

:::::: TO: Rob Clark <robdclark@chromium.org>
:::::: CC: Rob Clark <robdclark@chromium.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: 69546 bytes --]

             reply	other threads:[~2021-11-12  7:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-12  7:27 kernel test robot [this message]
2021-11-12  7:27 ` drivers/gpu/drm/msm/adreno/a6xx_gpu.c:1643:6: error: no previous prototype for 'a6xx_gpu_set_freq' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-11-08 21:05 kernel test robot
2021-11-08 21:05 ` 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=202111121501.hhQBNBgb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.