Re: clk: tegra: Add closed loop support for the DFLL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/23/2015 08:15 PM, Dan Carpenter wrote:
Hello Tuomas Tynkkynen,

The patch 435874b0fdf4: "clk: tegra: Add closed loop support for the
DFLL" from May 13, 2015, leads to the following static checker
warning:

	drivers/clk/tegra/clk-dfll.c:1448 dfll_build_i2c_lut()
	warn: unsigned 'td->i2c_lut[0]' is never less than zero.

drivers/clk/tegra/clk-dfll.c
   1446          v = td->soc->min_millivolts * 1000;
   1447          td->i2c_lut[0] = find_vdd_map_entry_exact(td, v);
   1448          if (td->i2c_lut[0] < 0)
                     ^^^^^^^^^^^^^^^^^^
Never true.

   1449                  goto out;
   1450

regards,
dan carpenter

Thanks for checking; for now, this shouldn't cause any problems. I will post a patch on monday.

Cheers,
Mikko.

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux