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
591a6e8e
Commit
591a6e8e
authored
Feb 06, 2007
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libata: build fix after dmesg probe output changes
Signed-off-by:
Jeff Garzik
<
jeff@garzik.org
>
parent
11750a40
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/ata/libata-core.c
drivers/ata/libata-core.c
+2
-2
No files found.
drivers/ata/libata-core.c
View file @
591a6e8e
...
...
@@ -1597,10 +1597,10 @@ int ata_dev_configure(struct ata_device *dev)
dev
->
n_sectors
=
ata_id_n_sectors
(
id
);
/* SCSI only uses 4-char revisions, dump full 8 chars from ATA */
ata_id_c_string
(
dev
->
id
,
fwrevbuf
,
ATA_ID_FW_REV
_OFS
,
ata_id_c_string
(
dev
->
id
,
fwrevbuf
,
ATA_ID_FW_REV
,
sizeof
(
fwrevbuf
));
ata_id_c_string
(
dev
->
id
,
modelbuf
,
ATA_ID_PROD
_OFS
,
ata_id_c_string
(
dev
->
id
,
modelbuf
,
ATA_ID_PROD
,
sizeof
(
modelbuf
));
if
(
dev
->
id
[
59
]
&
0x100
)
...
...
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