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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux