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:
512ba04
)
ipack: ipoctal: remove unnecessary (void*) conversions
author
XU pengfei
<xupengfei@nfschina.com>
Tue, 10 Jan 2023 10:16:14 +0000
(18:16 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 20 Jan 2023 12:07:43 +0000
(13:07 +0100)
arg is a void * type and does not require a cast.
Signed-off-by: XU pengfei <xupengfei@nfschina.com>
Link:
https://lore.kernel.org/r/20230110101613.4519-1-xupengfei@nfschina.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ipack/devices/ipoctal.c
patch
|
blob
|
history
diff --git
a/drivers/ipack/devices/ipoctal.c
b/drivers/ipack/devices/ipoctal.c
index
fc00274
..
39f0852
100644
(file)
--- a/
drivers/ipack/devices/ipoctal.c
+++ b/
drivers/ipack/devices/ipoctal.c
@@
-253,7
+253,7
@@
static void ipoctal_irq_channel(struct ipoctal_channel *channel)
static irqreturn_t ipoctal_irq_handler(void *arg)
{
unsigned int i;
- struct ipoctal *ipoctal =
(struct ipoctal *)
arg;
+ struct ipoctal *ipoctal = arg;
/* Clear the IPack device interrupt */
readw(ipoctal->int_space + ACK_INT_REQ0);