Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
06efcad0
Commit
06efcad0
authored
Oct 19, 2007
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminate pointless casts from void* in a few driver irq handlers.
Signed-off-by:
Jeff Garzik
<
jgarzik@redhat.com
>
parent
5712cb3d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
9 deletions
+10
-9
drivers/atm/horizon.c
drivers/atm/horizon.c
+3
-2
drivers/char/tpm/tpm_tis.c
drivers/char/tpm/tpm_tis.c
+2
-2
drivers/mtd/onenand/onenand_base.c
drivers/mtd/onenand/onenand_base.c
+1
-1
drivers/net/typhoon.c
drivers/net/typhoon.c
+1
-1
drivers/net/ucc_geth.c
drivers/net/ucc_geth.c
+1
-1
drivers/net/wan/sbni.c
drivers/net/wan/sbni.c
+2
-2
No files found.
drivers/atm/horizon.c
View file @
06efcad0
...
...
@@ -1382,8 +1382,9 @@ static inline void rx_data_av_handler (hrz_dev * dev) {
/********** interrupt handler **********/
static
irqreturn_t
interrupt_handler
(
int
irq
,
void
*
dev_id
)
{
hrz_dev
*
dev
=
(
hrz_dev
*
)
dev_id
;
static
irqreturn_t
interrupt_handler
(
int
irq
,
void
*
dev_id
)
{
hrz_dev
*
dev
=
dev_id
;
u32
int_source
;
unsigned
int
irq_ok
;
...
...
drivers/char/tpm/tpm_tis.c
View file @
06efcad0
...
...
@@ -381,7 +381,7 @@ static struct tpm_vendor_specific tpm_tis = {
static
irqreturn_t
tis_int_probe
(
int
irq
,
void
*
dev_id
)
{
struct
tpm_chip
*
chip
=
(
struct
tpm_chip
*
)
dev_id
;
struct
tpm_chip
*
chip
=
dev_id
;
u32
interrupt
;
interrupt
=
ioread32
(
chip
->
vendor
.
iobase
+
...
...
@@ -401,7 +401,7 @@ static irqreturn_t tis_int_probe(int irq, void *dev_id)
static
irqreturn_t
tis_int_handler
(
int
irq
,
void
*
dev_id
)
{
struct
tpm_chip
*
chip
=
(
struct
tpm_chip
*
)
dev_id
;
struct
tpm_chip
*
chip
=
dev_id
;
u32
interrupt
;
int
i
;
...
...
drivers/mtd/onenand/onenand_base.c
View file @
06efcad0
...
...
@@ -359,7 +359,7 @@ static int onenand_wait(struct mtd_info *mtd, int state)
*/
static
irqreturn_t
onenand_interrupt
(
int
irq
,
void
*
data
)
{
struct
onenand_chip
*
this
=
(
struct
onenand_chip
*
)
data
;
struct
onenand_chip
*
this
=
data
;
/* To handle shared interrupt */
if
(
!
this
->
complete
.
done
)
...
...
drivers/net/typhoon.c
View file @
06efcad0
...
...
@@ -1801,7 +1801,7 @@ typhoon_poll(struct napi_struct *napi, int budget)
static
irqreturn_t
typhoon_interrupt
(
int
irq
,
void
*
dev_instance
)
{
struct
net_device
*
dev
=
(
struct
net_device
*
)
dev_instance
;
struct
net_device
*
dev
=
dev_instance
;
struct
typhoon
*
tp
=
dev
->
priv
;
void
__iomem
*
ioaddr
=
tp
->
ioaddr
;
u32
intr_status
;
...
...
drivers/net/ucc_geth.c
View file @
06efcad0
...
...
@@ -3607,7 +3607,7 @@ static int ucc_geth_poll(struct napi_struct *napi, int budget)
static
irqreturn_t
ucc_geth_irq_handler
(
int
irq
,
void
*
info
)
{
struct
net_device
*
dev
=
(
struct
net_device
*
)
info
;
struct
net_device
*
dev
=
info
;
struct
ucc_geth_private
*
ugeth
=
netdev_priv
(
dev
);
struct
ucc_fast_private
*
uccf
;
struct
ucc_geth_info
*
ug_info
;
...
...
drivers/net/wan/sbni.c
View file @
06efcad0
...
...
@@ -502,8 +502,8 @@ sbni_start_xmit( struct sk_buff *skb, struct net_device *dev )
static
irqreturn_t
sbni_interrupt
(
int
irq
,
void
*
dev_id
)
{
struct
net_device
*
dev
=
(
struct
net_device
*
)
dev_id
;
struct
net_local
*
nl
=
(
struct
net_local
*
)
dev
->
priv
;
struct
net_device
*
dev
=
dev_id
;
struct
net_local
*
nl
=
dev
->
priv
;
int
repeat
;
spin_lock
(
&
nl
->
lock
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment