Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
5f582c8e
Commit
5f582c8e
authored
May 17, 2009
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ide: BUG() on unknown flags in ide_disk_special()
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
60293364
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
drivers/ide/ide-io.c
drivers/ide/ide-io.c
+2
-6
No files found.
drivers/ide/ide-io.c
View file @
5f582c8e
...
...
@@ -201,12 +201,8 @@ static ide_startstop_t ide_disk_special(ide_drive_t *drive)
}
else
if
(
s
->
b
.
set_multmode
)
{
s
->
b
.
set_multmode
=
0
;
ide_tf_set_setmult_cmd
(
drive
,
&
cmd
.
tf
);
}
else
if
(
s
->
all
)
{
int
special
=
s
->
all
;
s
->
all
=
0
;
printk
(
KERN_ERR
"%s: bad special flag: 0x%02x
\n
"
,
drive
->
name
,
special
);
return
ide_stopped
;
}
}
else
BUG
();
cmd
.
valid
.
out
.
tf
=
IDE_VALID_OUT_TF
|
IDE_VALID_DEVICE
;
cmd
.
valid
.
in
.
tf
=
IDE_VALID_IN_TF
|
IDE_VALID_DEVICE
;
...
...
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