u-boot/drivers
Tom Rini aae78fa774 drivers/power/regulator/max77686.c: Fix comparisons of unsigned expressions
Inside of
max77686_buck_volt2hex/max77686_buck_hex2volt/max77686_ldo_volt2hex we
check that the value we calculate is >= 0 however we declare 'hex' as
unsigned int making these always true.  Mark these as 'int' instead.  We
also move hex_max to int as they are constants that are 0x3f/0xff.
Given that the above functions are marked as returning an int, make the
variables we assign their return value to also be int to be able to
catch the error condition now.  Reported by clang-3.8.

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2017-05-29 17:28:52 +09:00
..
adc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block Kconfig: Add a CONFIG_IDE option 2017-05-22 12:45:27 -04:00
bootcount Blackfin: Remove 2017-04-05 13:52:01 -04:00
clk Merge git://git.denx.de/u-boot-rockchip 2017-05-10 17:40:11 -04:00
core dm: core: Add DM_FLAG_OS_PREPARE flag 2017-05-17 17:13:06 +08:00
cpu cpu: add CPU driver for Broadcom MIPS SoCs 2017-05-10 16:16:09 +02:00
crypto Convert CONFIG_CMD_HASH to Kconfig 2017-05-22 12:38:15 -04:00
ddr Merge git://git.denx.de/u-boot-fsl-qoriq 2017-04-18 11:36:06 -04:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu common: dfu: ignore reset for spl-dfu 2017-05-12 08:37:09 -04:00
dma treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
firmware sysreset: psci: support system reset in a generic way with PSCI 2017-04-18 10:29:19 -04:00
fpga FPGA: drivers/fpga/ivm_core.c: incorrect printf 2017-04-18 10:29:23 -04:00
gpio gpio: rcar_gen3: Fix GPIO read support 2017-05-22 04:37:30 +09:00
i2c Merge branch 'master' of git://git.denx.de/u-boot-i2c 2017-05-15 13:01:26 -04:00
input dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
led dm: led: add BCM6358 led driver 2017-05-10 16:16:09 +02:00
mailbox dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc Kconfig: Drop CONFIG_SYS_I2C_DS4510_ADDR 2017-05-22 08:37:12 -04:00
mmc x86: Convert MMC to driver model 2017-05-17 17:13:06 +08:00
mtd fix: nand: pxa3xx: Remove hardcode values from the driver 2017-05-09 13:38:18 +02:00
net Merge git://git.denx.de/u-boot-fsl-qoriq 2017-05-26 11:19:27 -04:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci Merge git://git.denx.de/u-boot-fsl-qoriq 2017-05-26 11:19:27 -04:00
pcmcia Kconfig: Add a CONFIG_IDE option 2017-05-22 12:45:27 -04:00
phy Merge git://git.denx.de/u-boot-dm 2017-05-09 16:11:36 -04:00
pinctrl pinctrl: imx: fix memory leak 2017-05-18 11:24:34 +02:00
power drivers/power/regulator/max77686.c: Fix comparisons of unsigned expressions 2017-05-29 17:28:52 +09:00
pwm dm: sandbox: pwm: add test for pwm_set_invert() 2017-05-10 13:37:21 -06:00
qe armv7: ls1021a: Drop macro CONFIG_LS102XA 2017-04-17 09:03:30 -07:00
ram dm: ram: remove unneeded brcm,bcm63268-mc id 2017-05-12 13:20:03 +02:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset dm: reset: add BCM6345 reset driver 2017-05-10 16:16:09 +02:00
rtc Drop three-wire serial (TWS) support 2017-05-22 08:37:10 -04:00
serial serial: sh: Add r8a7796 support 2017-05-22 04:38:25 +09:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
spi spi: kconfig: add soft spi Kconfig entry 2017-05-18 11:24:34 +02:00
spmi dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
sysreset sysreset: add syscon-reboot driver 2017-05-10 16:16:09 +02:00
thermal thermal: imx: fix calculation 2017-05-18 11:23:31 +02:00
timer nds32: Support AE3XX platform. 2017-05-22 14:05:46 +08:00
tpm lib: tpm: Add command to list resources 2017-03-26 13:22:58 -06:00
usb Merge git://git.denx.de/u-boot-fsl-qoriq 2017-05-26 11:19:27 -04:00
video sunxi: video: Split out TVE code 2017-05-15 21:22:24 +02:00
watchdog watchdog: Migrate OMAP_WATCHDOG to Kconfig 2017-05-15 10:40:02 -04:00
Kconfig Drop digital thermometer and thermostat (DTT) drivers 2017-05-22 08:37:11 -04:00
Makefile Drop digital thermometer and thermostat (DTT) drivers 2017-05-22 08:37:11 -04:00