projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2e0998
)
hwmon: ibmpex: remove unnecessary (void*) conversions
author
XU pengfei
<xupengfei@nfschina.com>
Wed, 11 Jan 2023 04:36:06 +0000
(12:36 +0800)
committer
Guenter Roeck
<linux@roeck-us.net>
Fri, 3 Feb 2023 15:30:10 +0000
(07:30 -0800)
Pointer variables of void * type do not require type cast.
Signed-off-by: XU pengfei <xupengfei@nfschina.com>
Link:
https://lore.kernel.org/r/20230111043605.3726-1-xupengfei@nfschina.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ibmpex.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/ibmpex.c
b/drivers/hwmon/ibmpex.c
index
1837ccc
..
db066b3
100644
(file)
--- a/
drivers/hwmon/ibmpex.c
+++ b/
drivers/hwmon/ibmpex.c
@@
-546,7
+546,7
@@
static void ibmpex_bmc_gone(int iface)
static void ibmpex_msg_handler(struct ipmi_recv_msg *msg, void *user_msg_data)
{
- struct ibmpex_bmc_data *data =
(struct ibmpex_bmc_data *)
user_msg_data;
+ struct ibmpex_bmc_data *data = user_msg_data;
if (msg->msgid != data->tx_msgid) {
dev_err(data->bmc_device,