[drm-exynos:exynos-drm-fixes 6/6] drivers/gpu/drm/exynos/exynos_drm_gsc.c:1763:0: error: unterminated #ifdef

kbuild test robot fengguang.wu at intel.com
Sun Sep 18 20:54:52 UTC 2016


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git exynos-drm-fixes
head:   f14b71e73240a6264f5ea71879219f97fd227e34
commit: f14b71e73240a6264f5ea71879219f97fd227e34 [6/6] Subject: [PATCH, RESEND] drm: exynos: avoid unused function warning
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f14b71e73240a6264f5ea71879219f97fd227e34
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/exynos/exynos_drm_gsc.c:1763:0: error: unterminated #ifdef
    #ifdef CONFIG_PM
    

vim +1763 drivers/gpu/drm/exynos/exynos_drm_gsc.c

f2646380 Eunchul Kim       2012-12-14  1757  	pm_runtime_set_suspended(dev);
f2646380 Eunchul Kim       2012-12-14  1758  	pm_runtime_disable(dev);
f2646380 Eunchul Kim       2012-12-14  1759  
f2646380 Eunchul Kim       2012-12-14  1760  	return 0;
f2646380 Eunchul Kim       2012-12-14  1761  }
f2646380 Eunchul Kim       2012-12-14  1762  
06453edb Rafael J. Wysocki 2014-12-04 @1763  #ifdef CONFIG_PM
f14b71e7 Arnd Bergmann     2016-09-18  1764  static int __maybe_unused gsc_runtime_suspend(struct device *dev)
f2646380 Eunchul Kim       2012-12-14  1765  {
f2646380 Eunchul Kim       2012-12-14  1766  	struct gsc_context *ctx = get_gsc_context(dev);

:::::: The code at line 1763 was first introduced by commit
:::::: 06453edba4bfe54a4d17ae5cbdda39cb59ed4c6a drm / exynos / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

:::::: TO: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki at intel.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 58520 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160919/a15eff4b/attachment-0001.gz>


More information about the dri-devel mailing list