[PATCH] staging: sm750fb: Improved coding style

kbuild test robot lkp at intel.com
Sun Mar 12 21:32:29 UTC 2017


Hi Arushi,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.11-rc1 next-20170310]
[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/Arushi-Singhal/staging-sm750fb-Improved-coding-style/20170313-044528
config: x86_64-randconfig-x013-201711 (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=x86_64 

All errors (new ones prefixed by >>):

   drivers/staging/sm750fb/ddk750_mode.c: In function 'programModeRegisters':
>> drivers/staging/sm750fb/ddk750_mode.c:155:106: error: 'pvssm' undeclared (first use in this function)
      poke32(pvs, ((pModeParam->vertical_sync_height << PANEL_VERTICAL_SYNC_HEIGHT_SHIFT) & pvshm) | (pvss & pvssm));
                                                                                                             ^~~~~
   drivers/staging/sm750fb/ddk750_mode.c:155:106: note: each undeclared identifier is reported only once for each function it appears in

vim +/pvssm +155 drivers/staging/sm750fb/ddk750_mode.c

   149			poke32(pht, reg);
   150	
   151			poke32(phs, ((pModeParam->horizontal_sync_width << PANEL_HORIZONTAL_SYNC_WIDTH_SHIFT) & phswm) | (phss & phssm));
   152	
   153			poke32(pvt, (((pModeParam->vertical_total - 1) << PANEL_VERTICAL_TOTAL_TOTAL_SHIFT) & pvttm) | (pvde & pvtdem));
   154	
 > 155			poke32(pvs, ((pModeParam->vertical_sync_height << PANEL_VERTICAL_SYNC_HEIGHT_SHIFT) & pvshm) | (pvss & pvssm));
   156	
   157			tmp = DISPLAY_CTRL_TIMING | DISPLAY_CTRL_PLANE;
   158			if (pModeParam->vertical_sync_polarity)

---
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: 27281 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20170313/3584a4b9/attachment-0001.bin>


More information about the devel mailing list