Hi Bartlomiej,

[auto build test ERROR on hwmon/hwmon-next]
[also build test ERROR on v4.11-rc5 next-20170403]
[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/Bartlomiej-Zolnierkiewicz/pwm-pwm-samsung-fix-suspend-resume-support/20170404-121010
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git 
hwmon-next
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   drivers//pwm/pwm-samsung.c: In function 'pwm_samsung_resume':
>> drivers//pwm/pwm-samsung.c:626:30: error: passing argument 1 of 
>> 'pwm_samsung_manual_update' from incompatible pointer type 
>> [-Werror=incompatible-pointer-types]
       pwm_samsung_manual_update(chip, pwm);
                                 ^~~~
   drivers//pwm/pwm-samsung.c:288:13: note: expected 'struct samsung_pwm_chip 
*' but argument is of type 'struct pwm_chip *'
    static void pwm_samsung_manual_update(struct samsung_pwm_chip *chip,
                ^~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/pwm_samsung_manual_update +626 drivers//pwm/pwm-samsung.c

   620                                          our_chip->inverter_mask & 
BIT(i));
   621  
   622                  if (chan->period_ns) {
   623                          __pwm_samsung_config(chip, pwm, chan->duty_ns,
   624                                               chan->period_ns, true);
   625                          /* needed to make PWM disable work on 
Odroid-XU3 */
 > 626                          pwm_samsung_manual_update(chip, pwm);
   627                  }
   628  
   629                  if (our_chip->disabled_mask & BIT(i))

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

Attachment: .config.gz
Description: application/gzip

Reply via email to