Re: [PATCH] drm/i915: Get correct display clock on 945gm

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

 



Hi Arthur,

[auto build test ERROR on v4.9-rc8]
[cannot apply to drm-intel/for-linux-next next-20170125]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Arthur-Heymans/drm-i915-Get-correct-display-clock-on-945gm/20170128-022541
config: i386-randconfig-x004-201704 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/intel_display.c:7392:12: error: invalid suffix "gm_get_display_clock_speed" on integer constant
    static int 945gm_get_display_clock_speed(struct drm_device *dev)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/intel_display.c:7392:12: error: expected identifier or '(' before numeric constant
   drivers/gpu/drm/i915/intel_display.c: In function 'intel_init_display_hooks':
   drivers/gpu/drm/i915/intel_display.c:16020:4: error: invalid suffix "gm_get_display_clock_speed" on integer constant
       954gm_get_display_clock_speed;
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/gm_get_display_clock_speed +7392 drivers/gpu/drm/i915/intel_display.c

  7386	
  7387	static int i945_get_display_clock_speed(struct drm_device *dev)
  7388	{
  7389		return 400000;
  7390	}
  7391	
> 7392	static int 945gm_get_display_clock_speed(struct drm_device *dev)
  7393	{
  7394		struct pci_dev *pdev = dev->pdev;
  7395		u16 gcfgc = 0;

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux