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
Kirill Smelkov
linux
Commits
51a76834
Commit
51a76834
authored
Aug 20, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up various small compile warnings in an effort at
getting rid of the simple stuff that hides the serious things.
parent
dd99888a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
drivers/char/rio/rio_linux.c
drivers/char/rio/rio_linux.c
+2
-1
drivers/char/specialix.c
drivers/char/specialix.c
+1
-3
drivers/ide/ide-tape.c
drivers/ide/ide-tape.c
+2
-2
drivers/ieee1394/csr.c
drivers/ieee1394/csr.c
+1
-1
No files found.
drivers/char/rio/rio_linux.c
View file @
51a76834
...
@@ -465,7 +465,8 @@ static irqreturn_t rio_interrupt (int irq, void *ptr, struct pt_regs *regs)
...
@@ -465,7 +465,8 @@ static irqreturn_t rio_interrupt (int irq, void *ptr, struct pt_regs *regs)
rio_reset_interrupt
(
HostP
);
rio_reset_interrupt
(
HostP
);
}
}
if
((
HostP
->
Flags
&
RUN_STATE
)
!=
RC_RUNNING
)
return
;
if
((
HostP
->
Flags
&
RUN_STATE
)
!=
RC_RUNNING
)
return
IRQ_HANDLED
;
if
(
test_and_set_bit
(
RIO_BOARD_INTR_LOCK
,
&
HostP
->
locks
))
{
if
(
test_and_set_bit
(
RIO_BOARD_INTR_LOCK
,
&
HostP
->
locks
))
{
printk
(
KERN_ERR
"Recursive interrupt! (host %d/irq%d)
\n
"
,
printk
(
KERN_ERR
"Recursive interrupt! (host %d/irq%d)
\n
"
,
...
...
drivers/char/specialix.c
View file @
51a76834
...
@@ -171,8 +171,6 @@
...
@@ -171,8 +171,6 @@
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
#endif
DECLARE_TASK_QUEUE
(
tq_specialix
);
#undef RS_EVENT_WRITE_WAKEUP
#undef RS_EVENT_WRITE_WAKEUP
#define RS_EVENT_WRITE_WAKEUP 0
#define RS_EVENT_WRITE_WAKEUP 0
...
@@ -988,7 +986,7 @@ static void sx_change_speed(struct specialix_board *bp, struct specialix_port *p
...
@@ -988,7 +986,7 @@ static void sx_change_speed(struct specialix_board *bp, struct specialix_port *p
long
tmp
;
long
tmp
;
unsigned
char
cor1
=
0
,
cor3
=
0
;
unsigned
char
cor1
=
0
,
cor3
=
0
;
unsigned
char
mcor1
=
0
,
mcor2
=
0
;
unsigned
char
mcor1
=
0
,
mcor2
=
0
;
static
int
again
;
static
unsigned
long
again
;
if
(
!
(
tty
=
port
->
tty
)
||
!
tty
->
termios
)
if
(
!
(
tty
=
port
->
tty
)
||
!
tty
->
termios
)
return
;
return
;
...
...
drivers/ide/ide-tape.c
View file @
51a76834
...
@@ -6272,8 +6272,8 @@ static int idetape_cleanup (ide_drive_t *drive)
...
@@ -6272,8 +6272,8 @@ static int idetape_cleanup (ide_drive_t *drive)
DRIVER
(
drive
)
->
busy
=
0
;
DRIVER
(
drive
)
->
busy
=
0
;
(
void
)
ide_unregister_subdriver
(
drive
);
(
void
)
ide_unregister_subdriver
(
drive
);
drive
->
driver_data
=
NULL
;
drive
->
driver_data
=
NULL
;
devfs_remove
(
"%s/mt"
);
devfs_remove
(
"%s/mt"
,
drive
->
devfs_name
);
devfs_remove
(
"%s/mtn"
);
devfs_remove
(
"%s/mtn"
,
drive
->
devfs_name
);
devfs_unregister_tape
(
drive
->
disk
->
number
);
devfs_unregister_tape
(
drive
->
disk
->
number
);
kfree
(
tape
);
kfree
(
tape
);
drive
->
disk
->
fops
=
ide_fops
;
drive
->
disk
->
fops
=
ide_fops
;
...
...
drivers/ieee1394/csr.c
View file @
51a76834
...
@@ -118,7 +118,7 @@ static inline void calculate_expire(struct csr_control *csr)
...
@@ -118,7 +118,7 @@ static inline void calculate_expire(struct csr_control *csr)
/* Just to keep from rounding low */
/* Just to keep from rounding low */
csr
->
expire
++
;
csr
->
expire
++
;
HPSB_VERBOSE
(
"CSR: setting expire to %lu, HZ=%
l
u"
,
csr
->
expire
,
HZ
);
HPSB_VERBOSE
(
"CSR: setting expire to %lu, HZ=%u"
,
csr
->
expire
,
HZ
);
}
}
...
...
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