[linuxtv-media:master 235/238] drivers/media//pci/pt1/pt1.c:1433:5: warning: "CONFIG_PM_SLEEP" is not defined, evaluates to 0

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

 



tree:   git://linuxtv.org/media_tree.git master
head:   fbfb3a75bd52249bbbbfe6e91b420cf2ae135ad5
commit: 41cb54e20543d436ee6331cd66dd0413a7452804 [235/238] media: dvb: earth-pt1: add support for suspend/resume
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 41cb54e20543d436ee6331cd66dd0413a7452804
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All warnings (new ones prefixed by >>):

>> drivers/media//pci/pt1/pt1.c:1433:5: warning: "CONFIG_PM_SLEEP" is not defined, evaluates to 0 [-Wundef]
    #if CONFIG_PM_SLEEP
        ^~~~~~~~~~~~~~~

vim +/CONFIG_PM_SLEEP +1433 drivers/media//pci/pt1/pt1.c

  1427	
  1428	static struct pci_driver pt1_driver = {
  1429		.name		= DRIVER_NAME,
  1430		.probe		= pt1_probe,
  1431		.remove		= pt1_remove,
  1432		.id_table	= pt1_id_table,
> 1433	#if CONFIG_PM_SLEEP
  1434		.driver.pm	= &pt1_pm_ops,
  1435	#endif
  1436	};
  1437	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux