* [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning
@ 2023-08-10 9:58 Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 2/9] mfd: max14577: " Krzysztof Kozlowski
` (8 more replies)
0 siblings, 9 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-10 9:58 UTC (permalink / raw)
To: Lee Jones, Chanwoo Choi, Krzysztof Kozlowski, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches
Cc: Andi Shyti
'partnum' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
stmpe-i2c.c:90:13: error: cast to smaller integer type 'enum stmpe_partnum' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/mfd/stmpe-i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/stmpe-i2c.c b/drivers/mfd/stmpe-i2c.c
index 1d7b401776d1..fe018bedab98 100644
--- a/drivers/mfd/stmpe-i2c.c
+++ b/drivers/mfd/stmpe-i2c.c
@@ -87,7 +87,7 @@ stmpe_i2c_probe(struct i2c_client *i2c)
dev_info(&i2c->dev, "matching on node name, compatible is preferred\n");
partnum = id->driver_data;
} else
- partnum = (enum stmpe_partnum)of_id->data;
+ partnum = (uintptr_t)of_id->data;
return stmpe_probe(&i2c_ci, partnum);
}
--
2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 2/9] mfd: max14577: Fix Wvoid-pointer-to-enum-cast warning
2023-08-10 9:58 [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning Krzysztof Kozlowski
@ 2023-08-10 9:58 ` Krzysztof Kozlowski
2023-08-10 13:47 ` Chanwoo Choi
2023-08-10 9:58 ` [PATCH 3/9] mfd: max77541: " Krzysztof Kozlowski
` (7 subsequent siblings)
8 siblings, 1 reply; 12+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-10 9:58 UTC (permalink / raw)
To: Lee Jones, Chanwoo Choi, Krzysztof Kozlowski, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches
Cc: Andi Shyti
'dev_type' is an enum, thus cast of pointer on 64-bit compile test with
W=1 causes:
max14577.c:406:5: error: cast to smaller integer type 'enum maxim_device_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/mfd/max14577.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
index 25ed8846b7fb..1f4f5002595c 100644
--- a/drivers/mfd/max14577.c
+++ b/drivers/mfd/max14577.c
@@ -402,8 +402,7 @@ static int max14577_i2c_probe(struct i2c_client *i2c)
of_id = of_match_device(max14577_dt_match, &i2c->dev);
if (of_id)
- max14577->dev_type =
- (enum maxim_device_type)of_id->data;
+ max14577->dev_type = (uintptr_t)of_id->data;
} else {
max14577->dev_type = id->driver_data;
}
--
2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 3/9] mfd: max77541: Fix Wvoid-pointer-to-enum-cast warning
2023-08-10 9:58 [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 2/9] mfd: max14577: " Krzysztof Kozlowski
@ 2023-08-10 9:58 ` Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 4/9] mfd: hi6421-pmic: " Krzysztof Kozlowski
` (6 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-10 9:58 UTC (permalink / raw)
To: Lee Jones, Chanwoo Choi, Krzysztof Kozlowski, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches
Cc: Andi Shyti
'id' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
max77541.c:176:18: error: cast to smaller integer type 'enum max7754x_ids' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/mfd/max77541.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/max77541.c b/drivers/mfd/max77541.c
index e147e949c2b3..10c2e274b4af 100644
--- a/drivers/mfd/max77541.c
+++ b/drivers/mfd/max77541.c
@@ -173,7 +173,7 @@ static int max77541_probe(struct i2c_client *client)
i2c_set_clientdata(client, max77541);
max77541->i2c = client;
- max77541->id = (enum max7754x_ids)device_get_match_data(dev);
+ max77541->id = (uintptr_t)device_get_match_data(dev);
if (!max77541->id)
max77541->id = (enum max7754x_ids)id->driver_data;
--
2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 4/9] mfd: hi6421-pmic: Fix Wvoid-pointer-to-enum-cast warning
2023-08-10 9:58 [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 2/9] mfd: max14577: " Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 3/9] mfd: max77541: " Krzysztof Kozlowski
@ 2023-08-10 9:58 ` Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 5/9] mfd: lp87565: " Krzysztof Kozlowski
` (5 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-10 9:58 UTC (permalink / raw)
To: Lee Jones, Chanwoo Choi, Krzysztof Kozlowski, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches
Cc: Andi Shyti
'type' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
hi6421-pmic-core.c:62:9: error: cast to smaller integer type 'enum hi6421_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/mfd/hi6421-pmic-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/hi6421-pmic-core.c b/drivers/mfd/hi6421-pmic-core.c
index cb5cf4a81c06..a6a890537a1e 100644
--- a/drivers/mfd/hi6421-pmic-core.c
+++ b/drivers/mfd/hi6421-pmic-core.c
@@ -59,7 +59,7 @@ static int hi6421_pmic_probe(struct platform_device *pdev)
id = of_match_device(of_hi6421_pmic_match, &pdev->dev);
if (!id)
return -EINVAL;
- type = (enum hi6421_type)id->data;
+ type = (uintptr_t)id->data;
pmic = devm_kzalloc(&pdev->dev, sizeof(*pmic), GFP_KERNEL);
if (!pmic)
--
2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 5/9] mfd: lp87565: Fix Wvoid-pointer-to-enum-cast warning
2023-08-10 9:58 [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning Krzysztof Kozlowski
` (2 preceding siblings ...)
2023-08-10 9:58 ` [PATCH 4/9] mfd: hi6421-pmic: " Krzysztof Kozlowski
@ 2023-08-10 9:58 ` Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 6/9] mfd: tc3589: " Krzysztof Kozlowski
` (4 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-10 9:58 UTC (permalink / raw)
To: Lee Jones, Chanwoo Choi, Krzysztof Kozlowski, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches
Cc: Andi Shyti
'dev_type' is an enum, thus cast of pointer on 64-bit compile test with
W=1 causes:
lp87565.c:95:23: error: cast to smaller integer type 'enum lp87565_device_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/mfd/lp87565.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/lp87565.c b/drivers/mfd/lp87565.c
index 88ce4d7c50a7..1b7f8349911d 100644
--- a/drivers/mfd/lp87565.c
+++ b/drivers/mfd/lp87565.c
@@ -92,7 +92,7 @@ static int lp87565_probe(struct i2c_client *client)
of_id = of_match_device(of_lp87565_match_table, &client->dev);
if (of_id)
- lp87565->dev_type = (enum lp87565_device_type)of_id->data;
+ lp87565->dev_type = (uintptr_t)of_id->data;
i2c_set_clientdata(client, lp87565);
--
2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 6/9] mfd: tc3589: Fix Wvoid-pointer-to-enum-cast warning
2023-08-10 9:58 [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning Krzysztof Kozlowski
` (3 preceding siblings ...)
2023-08-10 9:58 ` [PATCH 5/9] mfd: lp87565: " Krzysztof Kozlowski
@ 2023-08-10 9:58 ` Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 7/9] mfd: wm8994: " Krzysztof Kozlowski
` (3 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-10 9:58 UTC (permalink / raw)
To: Lee Jones, Chanwoo Choi, Krzysztof Kozlowski, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches
Cc: Andi Shyti
'version' is an enum, thus cast of pointer on 64-bit compile test with
W=1 causes:
tc3589x.c:343:13: error: cast to smaller integer type 'enum tc3589x_version' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/mfd/tc3589x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/tc3589x.c b/drivers/mfd/tc3589x.c
index 16df64e3c0be..1a6ab8e7a614 100644
--- a/drivers/mfd/tc3589x.c
+++ b/drivers/mfd/tc3589x.c
@@ -340,7 +340,7 @@ tc3589x_of_probe(struct device *dev, enum tc3589x_version *version)
of_id = of_match_device(tc3589x_match, dev);
if (!of_id)
return ERR_PTR(-ENODEV);
- *version = (enum tc3589x_version) of_id->data;
+ *version = (uintptr_t) of_id->data;
for_each_child_of_node(np, child) {
if (of_device_is_compatible(child, "toshiba,tc3589x-gpio"))
--
2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 7/9] mfd: wm8994: Fix Wvoid-pointer-to-enum-cast warning
2023-08-10 9:58 [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning Krzysztof Kozlowski
` (4 preceding siblings ...)
2023-08-10 9:58 ` [PATCH 6/9] mfd: tc3589: " Krzysztof Kozlowski
@ 2023-08-10 9:58 ` Krzysztof Kozlowski
2023-08-10 10:12 ` Charles Keepax
2023-08-10 9:58 ` [PATCH 8/9] mfd: wm31x: " Krzysztof Kozlowski
` (2 subsequent siblings)
8 siblings, 1 reply; 12+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-10 9:58 UTC (permalink / raw)
To: Lee Jones, Chanwoo Choi, Krzysztof Kozlowski, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches
Cc: Andi Shyti
'type' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
wm8994-core.c:631:19: error: cast to smaller integer type 'enum wm8994_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/mfd/wm8994-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c
index 1e4f1694f065..aba7af688175 100644
--- a/drivers/mfd/wm8994-core.c
+++ b/drivers/mfd/wm8994-core.c
@@ -628,7 +628,7 @@ static int wm8994_i2c_probe(struct i2c_client *i2c)
if (i2c->dev.of_node) {
of_id = of_match_device(wm8994_of_match, &i2c->dev);
if (of_id)
- wm8994->type = (enum wm8994_type)of_id->data;
+ wm8994->type = (uintptr_t)of_id->data;
} else {
wm8994->type = id->driver_data;
}
--
2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 8/9] mfd: wm31x: Fix Wvoid-pointer-to-enum-cast warning
2023-08-10 9:58 [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning Krzysztof Kozlowski
` (5 preceding siblings ...)
2023-08-10 9:58 ` [PATCH 7/9] mfd: wm8994: " Krzysztof Kozlowski
@ 2023-08-10 9:58 ` Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 9/9] mfd: mxs-lradc: " Krzysztof Kozlowski
2023-08-17 17:19 ` [PATCH 1/9] mfd: stmpe: " Lee Jones
8 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-10 9:58 UTC (permalink / raw)
To: Lee Jones, Chanwoo Choi, Krzysztof Kozlowski, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches
Cc: Andi Shyti
'type' is an enum, thus cast of pointer on 64-bit compile test with
W=1 causes:
wm831x-spi.c:36:10: error: cast to smaller integer type 'enum wm831x_parent' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/mfd/wm831x-i2c.c | 2 +-
drivers/mfd/wm831x-spi.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/wm831x-i2c.c b/drivers/mfd/wm831x-i2c.c
index 997837f13180..694ddbbf0372 100644
--- a/drivers/mfd/wm831x-i2c.c
+++ b/drivers/mfd/wm831x-i2c.c
@@ -36,7 +36,7 @@ static int wm831x_i2c_probe(struct i2c_client *i2c)
dev_err(&i2c->dev, "Failed to match device\n");
return -ENODEV;
}
- type = (enum wm831x_parent)of_id->data;
+ type = (uintptr_t)of_id->data;
} else {
type = (enum wm831x_parent)id->driver_data;
}
diff --git a/drivers/mfd/wm831x-spi.c b/drivers/mfd/wm831x-spi.c
index 7bcddccbf155..76be7ef5c970 100644
--- a/drivers/mfd/wm831x-spi.c
+++ b/drivers/mfd/wm831x-spi.c
@@ -33,7 +33,7 @@ static int wm831x_spi_probe(struct spi_device *spi)
dev_err(&spi->dev, "Failed to match device\n");
return -ENODEV;
}
- type = (enum wm831x_parent)of_id->data;
+ type = (uintptr_t)of_id->data;
} else {
type = (enum wm831x_parent)id->driver_data;
}
--
2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 9/9] mfd: mxs-lradc: Fix Wvoid-pointer-to-enum-cast warning
2023-08-10 9:58 [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning Krzysztof Kozlowski
` (6 preceding siblings ...)
2023-08-10 9:58 ` [PATCH 8/9] mfd: wm31x: " Krzysztof Kozlowski
@ 2023-08-10 9:58 ` Krzysztof Kozlowski
2023-08-17 17:19 ` [PATCH 1/9] mfd: stmpe: " Lee Jones
8 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-10 9:58 UTC (permalink / raw)
To: Lee Jones, Chanwoo Choi, Krzysztof Kozlowski, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches
Cc: Andi Shyti
'soc' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
mxs-lradc.c:145:15: error: cast to smaller integer type 'enum mxs_lradc_id' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/mfd/mxs-lradc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/mxs-lradc.c b/drivers/mfd/mxs-lradc.c
index 111d11fd25aa..21f3033d6eb5 100644
--- a/drivers/mfd/mxs-lradc.c
+++ b/drivers/mfd/mxs-lradc.c
@@ -142,7 +142,7 @@ static int mxs_lradc_probe(struct platform_device *pdev)
if (!of_id)
return -EINVAL;
- lradc->soc = (enum mxs_lradc_id)of_id->data;
+ lradc->soc = (uintptr_t)of_id->data;
lradc->clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(lradc->clk)) {
--
2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 7/9] mfd: wm8994: Fix Wvoid-pointer-to-enum-cast warning
2023-08-10 9:58 ` [PATCH 7/9] mfd: wm8994: " Krzysztof Kozlowski
@ 2023-08-10 10:12 ` Charles Keepax
0 siblings, 0 replies; 12+ messages in thread
From: Charles Keepax @ 2023-08-10 10:12 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Lee Jones, Chanwoo Choi, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches, Andi Shyti
On Thu, Aug 10, 2023 at 11:58:47AM +0200, Krzysztof Kozlowski wrote:
> 'type' is an enum, thus cast of pointer on 64-bit compile test with W=1
> causes:
>
> wm8994-core.c:631:19: error: cast to smaller integer type 'enum wm8994_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks,
Charles
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/9] mfd: max14577: Fix Wvoid-pointer-to-enum-cast warning
2023-08-10 9:58 ` [PATCH 2/9] mfd: max14577: " Krzysztof Kozlowski
@ 2023-08-10 13:47 ` Chanwoo Choi
0 siblings, 0 replies; 12+ messages in thread
From: Chanwoo Choi @ 2023-08-10 13:47 UTC (permalink / raw)
To: Krzysztof Kozlowski, Lee Jones, Chanwoo Choi, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches
Cc: Andi Shyti
On 23. 8. 10. 18:58, Krzysztof Kozlowski wrote:
> 'dev_type' is an enum, thus cast of pointer on 64-bit compile test with
> W=1 causes:
>
> max14577.c:406:5: error: cast to smaller integer type 'enum maxim_device_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> drivers/mfd/max14577.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
> index 25ed8846b7fb..1f4f5002595c 100644
> --- a/drivers/mfd/max14577.c
> +++ b/drivers/mfd/max14577.c
> @@ -402,8 +402,7 @@ static int max14577_i2c_probe(struct i2c_client *i2c)
>
> of_id = of_match_device(max14577_dt_match, &i2c->dev);
> if (of_id)
> - max14577->dev_type =
> - (enum maxim_device_type)of_id->data;
> + max14577->dev_type = (uintptr_t)of_id->data;
> } else {
> max14577->dev_type = id->driver_data;
> }
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
--
Best Regards,
Samsung Electronics
Chanwoo Choi
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning
2023-08-10 9:58 [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning Krzysztof Kozlowski
` (7 preceding siblings ...)
2023-08-10 9:58 ` [PATCH 9/9] mfd: mxs-lradc: " Krzysztof Kozlowski
@ 2023-08-17 17:19 ` Lee Jones
8 siblings, 0 replies; 12+ messages in thread
From: Lee Jones @ 2023-08-17 17:19 UTC (permalink / raw)
To: Lee Jones, Chanwoo Choi, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Maxime Coquelin, Alexandre Torgue, linux-kernel,
linux-arm-kernel, linux-stm32, patches, Krzysztof Kozlowski
Cc: Andi Shyti
On Thu, 10 Aug 2023 11:58:41 +0200, Krzysztof Kozlowski wrote:
> 'partnum' is an enum, thus cast of pointer on 64-bit compile test with W=1
> causes:
>
> stmpe-i2c.c:90:13: error: cast to smaller integer type 'enum stmpe_partnum' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
>
>
Applied, thanks!
[1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning
commit: ee1a91ee7729b56535bce753c5a8146ec58aa0c6
[2/9] mfd: max14577: Fix Wvoid-pointer-to-enum-cast warning
commit: e3569bd687ebbb35339aa8699311c28770d3a3b6
[3/9] mfd: max77541: Fix Wvoid-pointer-to-enum-cast warning
commit: d964ac59516ca77c0761d73681d7975e33ddfeae
[4/9] mfd: hi6421-pmic: Fix Wvoid-pointer-to-enum-cast warning
commit: bbf26b17476c8528a3dc903f5550e89bdca7aa72
[5/9] mfd: lp87565: Fix Wvoid-pointer-to-enum-cast warning
commit: d3cf4d705563d26e02e8997cc2cf297542abdadf
[6/9] mfd: tc3589: Fix Wvoid-pointer-to-enum-cast warning
commit: 499e6c7904a5d1860651ec2437a9873e2b9aa1f0
[7/9] mfd: wm8994: Fix Wvoid-pointer-to-enum-cast warning
commit: b53cd2fb2769dd8c082adaaa8f1746265a9ca732
[8/9] mfd: wm31x: Fix Wvoid-pointer-to-enum-cast warning
commit: a79c1c76d726c5af9cf925ee0a5b934bd17c1496
[9/9] mfd: mxs-lradc: Fix Wvoid-pointer-to-enum-cast warning
commit: 243cd47f753d57e1d6d11449056a437052560b84
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2023-08-17 17:20 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-10 9:58 [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 2/9] mfd: max14577: " Krzysztof Kozlowski
2023-08-10 13:47 ` Chanwoo Choi
2023-08-10 9:58 ` [PATCH 3/9] mfd: max77541: " Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 4/9] mfd: hi6421-pmic: " Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 5/9] mfd: lp87565: " Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 6/9] mfd: tc3589: " Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 7/9] mfd: wm8994: " Krzysztof Kozlowski
2023-08-10 10:12 ` Charles Keepax
2023-08-10 9:58 ` [PATCH 8/9] mfd: wm31x: " Krzysztof Kozlowski
2023-08-10 9:58 ` [PATCH 9/9] mfd: mxs-lradc: " Krzysztof Kozlowski
2023-08-17 17:19 ` [PATCH 1/9] mfd: stmpe: " Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®