All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chrome-os:chromeos-4.19 9/14] drivers/gpu/drm/evdi/evdi_drv.c:74:6: warning: no previous prototype for function 'evdi_platform_device_is_free'
Date: Sat, 20 Feb 2021 21:33:47 +0800	[thread overview]
Message-ID: <202102202142.3UtUnjTO-lkp@intel.com> (raw)

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head:   0e5434c74b34490991f87d8c8b266e3b6b6be895
commit: 789da1dcaf055e595a9ffdc02e7b575b62a53b24 [9/14] CHROMIUM: drm/evdi: Use free platform device again after its parent was removed
config: arm64-randconfig-r012-20210220 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-4.19
        git checkout 789da1dcaf055e595a9ffdc02e7b575b62a53b24
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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/evdi/evdi_drv.c:74:6: warning: no previous prototype for function 'evdi_platform_device_is_free' [-Wmissing-prototypes]
   bool evdi_platform_device_is_free(struct platform_device *pdev)
        ^
   drivers/gpu/drm/evdi/evdi_drv.c:74:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   bool evdi_platform_device_is_free(struct platform_device *pdev)
   ^
   static 
   1 warning generated.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for DEVFREQ_THERMAL
   Depends on THERMAL && PM_DEVFREQ && PM_OPP
   Selected by
   - DRM_POWERVR_ROGUE_1_10 && ARM64 && HAS_IOMEM && DRM && SYNC_FILE


vim +/evdi_platform_device_is_free +74 drivers/gpu/drm/evdi/evdi_drv.c

    73	
  > 74	bool evdi_platform_device_is_free(struct platform_device *pdev)
    75	{
    76		struct drm_device *drm_dev =
    77			(struct drm_device *)platform_get_drvdata(pdev);
    78		struct evdi_device *evdi = drm_dev->dev_private;
    79	
    80		if (evdi && !evdi_painter_is_connected(evdi))
    81			return true;
    82		return false;
    83	}
    84	

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

                 reply	other threads:[~2021-02-20 13:33 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=202102202142.3UtUnjTO-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.