Hi Shih-Yuan,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.3 next-20151111]

url:    
https://github.com/0day-ci/linux/commits/Shih-Yuan-Lee-FourDollars/drm-i915-Set-brightness-maximum-to-a-fixed-value-100/20151111-121325
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-defconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_panel.c: In function 'get_backlight_min_vbt':
>> drivers/gpu/drm/i915/intel_panel.c:1453:1: error: expected expression before 
>> '.' token
    .
    ^
>> drivers/gpu/drm/i915/intel_panel.c:1460:2: error: 'else' without a previous 
>> 'if'
     else
     ^

vim +1453 drivers/gpu/drm/i915/intel_panel.c

  1447                  pwm_step = scale(1, 0, 99, 0, panel->backlight.max);
  1448          else if (panel->backlight.max > pwm_min)
  1449                  pwm_step = scale(1, 0, panel->backlight.max - pwm_min,
  1450                                   0, panel->backlight.max);
  1451          else
  1452                  return pwm_min;
> 1453  .
  1454          /*
  1455           * Because sysfs brightness 0 is used to turn off the 
backlight, we need step
  1456           * down a little bit to make sysfs brightness 1 become the 
lowest brightness.
  1457           */
  1458          if (pwm_min > pwm_step)
  1459                  return pwm_min - pwm_step;
> 1460          else
  1461                  return pwm_min;
  1462  }
  1463  

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

Attachment: .config.gz
Description: Binary data

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

Reply via email to