lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 11 Jun 2016 10:22:14 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Alexandre Belloni <alexandre.belloni@...e-electrons.com>
Cc:	kbuild-all@...org, Nicolas Ferre <nicolas.ferre@...el.com>,
	Boris Brezillon <boris.brezillon@...e-electrons.com>,
	Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
	Thierry Reding <thierry.reding@...il.com>,
	linux-pwm@...r.kernel.org
Subject: Re: [PATCH 47/48] PWM: atmel-tcb: switch to new binding

Hi,

[auto build test WARNING on at91/at91-next]
[also build test WARNING on v4.7-rc2 next-20160609]
[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/Alexandre-Belloni/ARM-at91-rework-Atmel-TCB-drivers/20160611-062134
base:   https://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git at91-next
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/pwm/pwm-atmel-tcb.c: In function 'atmel_tcb_pwm_probe':
>> drivers/pwm/pwm-atmel-tcb.c:418:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     tcbpwm->width = (int)match->data;
                     ^

vim +418 drivers/pwm/pwm-atmel-tcb.c

   402			dev_err(&pdev->dev, "failed to allocate memory\n");
   403			goto err_slow_clk;
   404		}
   405	
   406		tcbpwm->chip.dev = &pdev->dev;
   407		tcbpwm->chip.ops = &atmel_tcb_pwm_ops;
   408		tcbpwm->chip.of_xlate = of_pwm_xlate_with_flags;
   409		tcbpwm->chip.of_pwm_n_cells = 3;
   410		tcbpwm->chip.base = -1;
   411		tcbpwm->chip.npwm = NPWM;
   412		tcbpwm->channel = channel;
   413		tcbpwm->regmap = regmap;
   414		tcbpwm->clk = clk;
   415		tcbpwm->slow_clk = slow_clk;
   416	
   417		match = of_match_node(atmel_tcb_dt_ids, np->parent);
 > 418		tcbpwm->width = (int)match->data;
   419	
   420		err = clk_prepare_enable(slow_clk);
   421		if (err)
   422			goto err_slow_clk;
   423	
   424		spin_lock_init(&tcbpwm->lock);
   425	
   426		err = pwmchip_add(&tcbpwm->chip);

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

Download attachment ".config.gz" of type "application/octet-stream" (54115 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ