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
09f6a259
Commit
09f6a259
authored
Oct 07, 2002
by
Dave Jones
Committed by
Linus Torvalds
Oct 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Various drivers using longs instead of ulongs for flags.
parent
e41409f3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
drivers/block/paride/paride.c
drivers/block/paride/paride.c
+2
-2
drivers/block/paride/pcd.c
drivers/block/paride/pcd.c
+3
-3
drivers/block/paride/pseudo.h
drivers/block/paride/pseudo.h
+3
-3
drivers/char/generic_serial.c
drivers/char/generic_serial.c
+1
-1
drivers/char/synclink.c
drivers/char/synclink.c
+2
-2
No files found.
drivers/block/paride/paride.c
View file @
09f6a259
...
...
@@ -79,7 +79,7 @@ EXPORT_SYMBOL(pi_read_block);
static
void
pi_wake_up
(
void
*
p
)
{
PIA
*
pi
=
(
PIA
*
)
p
;
long
flags
;
unsigned
long
flags
;
void
(
*
cont
)(
void
)
=
NULL
;
spin_lock_irqsave
(
&
pi_spinlock
,
flags
);
...
...
@@ -103,7 +103,7 @@ void pi_do_claimed( PIA *pi, void(*cont)(void))
#ifdef CONFIG_PARPORT
{
long
flags
;
{
unsigned
long
flags
;
spin_lock_irqsave
(
&
pi_spinlock
,
flags
);
...
...
drivers/block/paride/pcd.c
View file @
09f6a259
...
...
@@ -762,7 +762,7 @@ static void pcd_start(void)
{
int
b
,
i
;
char
rd_cmd
[
12
]
=
{
0xa8
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
};
long
saved_flags
;
unsigned
long
saved_flags
;
pcd_bufblk
=
pcd_sector
/
4
;
b
=
pcd_bufblk
;
...
...
@@ -792,7 +792,7 @@ static void do_pcd_read(void)
pcd_retries
=
0
;
pcd_transfer
();
if
(
!
pcd_count
)
{
long
saved_flags
;
unsigned
long
saved_flags
;
spin_lock_irqsave
(
&
pcd_lock
,
saved_flags
);
end_request
(
CURRENT
,
1
);
pcd_busy
=
0
;
...
...
@@ -806,7 +806,7 @@ static void do_pcd_read(void)
static
void
do_pcd_read_drq
(
void
)
{
long
saved_flags
;
unsigned
long
saved_flags
;
if
(
pcd_completion
(
pcd_current
,
pcd_buffer
,
"read block"
))
{
if
(
pcd_retries
<
PCD_RETRIES
)
{
...
...
drivers/block/paride/pseudo.h
View file @
09f6a259
...
...
@@ -56,7 +56,7 @@ static void ps_set_intr( void (*continuation)(void),
int
(
*
ready
)(
void
),
int
timeout
,
int
nice
)
{
long
flags
;
{
unsigned
long
flags
;
spin_lock_irqsave
(
&
ps_spinlock
,
flags
);
...
...
@@ -86,7 +86,7 @@ static void ps_set_intr( void (*continuation)(void),
static
void
ps_tq_int
(
void
*
data
)
{
void
(
*
con
)(
void
);
long
flags
;
unsigned
long
flags
;
spin_lock_irqsave
(
&
ps_spinlock
,
flags
);
...
...
@@ -121,7 +121,7 @@ static void ps_tq_int( void *data )
static
void
ps_timer_int
(
unsigned
long
data
)
{
void
(
*
con
)(
void
);
long
flags
;
unsigned
long
flags
;
spin_lock_irqsave
(
&
ps_spinlock
,
flags
);
...
...
drivers/char/generic_serial.c
View file @
09f6a259
...
...
@@ -511,7 +511,7 @@ void gs_start(struct tty_struct * tty)
void
gs_shutdown_port
(
struct
gs_port
*
port
)
{
long
flags
;
unsigned
long
flags
;
func_enter
();
...
...
drivers/char/synclink.c
View file @
09f6a259
...
...
@@ -8002,7 +8002,7 @@ int mgsl_sppp_open(struct net_device *d)
{
struct
mgsl_struct
*
info
=
d
->
priv
;
int
err
;
long
flags
;
unsigned
long
flags
;
if
(
debug_level
>=
DEBUG_LEVEL_INFO
)
printk
(
"mgsl_sppp_open(%s)
\n
"
,
info
->
netname
);
...
...
@@ -8045,7 +8045,7 @@ int mgsl_sppp_open(struct net_device *d)
void
mgsl_sppp_tx_timeout
(
struct
net_device
*
dev
)
{
struct
mgsl_struct
*
info
=
dev
->
priv
;
long
flags
;
unsigned
long
flags
;
if
(
debug_level
>=
DEBUG_LEVEL_INFO
)
printk
(
"mgsl_sppp_tx_timeout(%s)
\n
"
,
info
->
netname
);
...
...
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