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: Tue, 09 Nov 2021 05:05:44 +0800	[thread overview]
Message-ID: <202111090536.ICdshGDM-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d2f38a3c6507b2520101f9a3807ed98f1bdc545a
commit: f6f59072e821901d96c791864a07d57d8ec8d312 drm/msm/a6xx: Serialize GMU communication
date:   5 weeks ago
config: arm-buildonly-randconfig-r005-20211031 (attached as .config)
compiler: arm-linux-gnueabi-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=f6f59072e821901d96c791864a07d57d8ec8d312
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout f6f59072e821901d96c791864a07d57d8ec8d312
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm 

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

  1642	
> 1643	void a6xx_gpu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp)
  1644	{
  1645		struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu);
  1646		struct a6xx_gpu *a6xx_gpu = to_a6xx_gpu(adreno_gpu);
  1647	
  1648		mutex_lock(&a6xx_gpu->gmu.lock);
  1649		a6xx_gmu_set_freq(gpu, opp);
  1650		mutex_unlock(&a6xx_gpu->gmu.lock);
  1651	}
  1652	

---
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: 34802 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Rob Clark <robdclark@chromium.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: drivers/gpu/drm/msm/adreno/a6xx_gpu.c:1643:6: error: no previous prototype for 'a6xx_gpu_set_freq'
Date: Tue, 9 Nov 2021 05:05:44 +0800	[thread overview]
Message-ID: <202111090536.ICdshGDM-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d2f38a3c6507b2520101f9a3807ed98f1bdc545a
commit: f6f59072e821901d96c791864a07d57d8ec8d312 drm/msm/a6xx: Serialize GMU communication
date:   5 weeks ago
config: arm-buildonly-randconfig-r005-20211031 (attached as .config)
compiler: arm-linux-gnueabi-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=f6f59072e821901d96c791864a07d57d8ec8d312
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout f6f59072e821901d96c791864a07d57d8ec8d312
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm 

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

  1642	
> 1643	void a6xx_gpu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp)
  1644	{
  1645		struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu);
  1646		struct a6xx_gpu *a6xx_gpu = to_a6xx_gpu(adreno_gpu);
  1647	
  1648		mutex_lock(&a6xx_gpu->gmu.lock);
  1649		a6xx_gmu_set_freq(gpu, opp);
  1650		mutex_unlock(&a6xx_gpu->gmu.lock);
  1651	}
  1652	

---
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: 34802 bytes --]

             reply	other threads:[~2021-11-08 21:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-08 21:05 kernel test robot [this message]
2021-11-08 21:05 ` 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-12  7:27 kernel test robot
2021-11-12  7:27 ` 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=202111090536.ICdshGDM-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.