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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 14 Oct 2014 14:25:37 +0200
From:	Krzysztof Kozlowski <>
To:	Samuel Ortiz <>,
	Lee Jones <>,
Cc:	Krzysztof Kozlowski <>
Subject: [PATCH] mfd: max77693: Fix a truncate warning

Fix warning on x86_64, make allyesconfig:

drivers/mfd/max77693.c: In function ‘max77693_i2c_probe’:
drivers/mfd/max77693.c:259:5: warning: large integer implicitly truncated to unsigned type [-Woverflow]

Signed-off-by: Krzysztof Kozlowski <>
 drivers/mfd/max77693.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c
index 4e4e6a1a6301..0c9ec6bae022 100644
--- a/drivers/mfd/max77693.c
+++ b/drivers/mfd/max77693.c
@@ -256,7 +256,7 @@ static int max77693_i2c_probe(struct i2c_client *i2c,
 	/* Unmask interrupts from all blocks in interrupt source register */
 	ret = regmap_update_bits(max77693->regmap,
+				SRC_IRQ_ALL, (unsigned int)~SRC_IRQ_ALL);
 	if (ret < 0) {
 			"Could not unmask interrupts in INTSRC: %d\n",

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists