Re: [PATCH] staging: sm750fb: Improved coding style
From: kbuild test robot
Date: Sun Mar 12 2017 - 17:33:45 EST
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
Attachment:
.config.gz
Description: application/gzip