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
c85665ff
Commit
c85665ff
authored
May 19, 2008
by
Jeff Garzik
Committed by
Jeff Garzik
May 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drivers/ata: trim trailing whitespace
Signed-off-by:
Jeff Garzik
<
jgarzik@redhat.com
>
parent
ae6c23c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/ata/libata-acpi.c
drivers/ata/libata-acpi.c
+4
-4
drivers/ata/pata_sl82c105.c
drivers/ata/pata_sl82c105.c
+1
-1
No files found.
drivers/ata/libata-acpi.c
View file @
c85665ff
...
@@ -118,7 +118,7 @@ static void ata_acpi_associate_ide_port(struct ata_port *ap)
...
@@ -118,7 +118,7 @@ static void ata_acpi_associate_ide_port(struct ata_port *ap)
ap
->
pflags
|=
ATA_PFLAG_INIT_GTM_VALID
;
ap
->
pflags
|=
ATA_PFLAG_INIT_GTM_VALID
;
}
}
static
void
ata_acpi_handle_hotplug
(
struct
ata_port
*
ap
,
struct
ata_device
static
void
ata_acpi_handle_hotplug
(
struct
ata_port
*
ap
,
struct
ata_device
*
dev
,
u32
event
)
*
dev
,
u32
event
)
{
{
char
event_string
[
12
];
char
event_string
[
12
];
...
@@ -130,7 +130,7 @@ static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device
...
@@ -130,7 +130,7 @@ static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device
acpi_handle
handle
,
tmphandle
;
acpi_handle
handle
,
tmphandle
;
unsigned
long
sta
;
unsigned
long
sta
;
acpi_status
status
;
acpi_status
status
;
if
(
!
ap
)
if
(
!
ap
)
ap
=
dev
->
link
->
ap
;
ap
=
dev
->
link
->
ap
;
ehi
=
&
ap
->
link
.
eh_info
;
ehi
=
&
ap
->
link
.
eh_info
;
...
@@ -167,10 +167,10 @@ static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device
...
@@ -167,10 +167,10 @@ static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device
else
{
else
{
struct
ata_link
*
tlink
;
struct
ata_link
*
tlink
;
struct
ata_device
*
tdev
;
struct
ata_device
*
tdev
;
ata_port_for_each_link
(
tlink
,
ap
)
{
ata_port_for_each_link
(
tlink
,
ap
)
{
ata_link_for_each_dev
(
tdev
,
tlink
)
{
ata_link_for_each_dev
(
tdev
,
tlink
)
{
tdev
->
flags
|=
tdev
->
flags
|=
ATA_DFLAG_DETACH
;
ATA_DFLAG_DETACH
;
}
}
}
}
...
...
drivers/ata/pata_sl82c105.c
View file @
c85665ff
...
@@ -216,7 +216,7 @@ static int sl82c105_qc_defer(struct ata_queued_cmd *qc)
...
@@ -216,7 +216,7 @@ static int sl82c105_qc_defer(struct ata_queued_cmd *qc)
struct
ata_port
*
alt
=
host
->
ports
[
1
^
qc
->
ap
->
port_no
];
struct
ata_port
*
alt
=
host
->
ports
[
1
^
qc
->
ap
->
port_no
];
int
rc
;
int
rc
;
/* First apply the usual rules */
/* First apply the usual rules */
rc
=
ata_std_qc_defer
(
qc
);
rc
=
ata_std_qc_defer
(
qc
);
if
(
rc
!=
0
)
if
(
rc
!=
0
)
return
rc
;
return
rc
;
...
...
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