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
a5ec7f86
Commit
a5ec7f86
authored
Jul 03, 2011
by
James Bottomley
Committed by
James Bottomley
Jul 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCSI] isci: fix checkpatch errors
Signed-off-by:
James Bottomley
<
JBottomley@Parallels.com
>
parent
5b45b69c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
44 additions
and
42 deletions
+44
-42
drivers/scsi/isci/phy.c
drivers/scsi/isci/phy.c
+1
-1
drivers/scsi/isci/probe_roms.c
drivers/scsi/isci/probe_roms.c
+4
-3
drivers/scsi/isci/remote_device.c
drivers/scsi/isci/remote_device.c
+1
-1
drivers/scsi/isci/request.h
drivers/scsi/isci/request.h
+2
-2
drivers/scsi/isci/task.c
drivers/scsi/isci/task.c
+36
-35
No files found.
drivers/scsi/isci/phy.c
View file @
a5ec7f86
...
...
@@ -197,7 +197,7 @@ sci_phy_link_layer_initialization(struct isci_phy *iphy,
llctl
=
SCU_SAS_LLCTL_GEN_VAL
(
NO_OUTBOUND_TASK_TIMEOUT
,
(
u8
)
ihost
->
user_parameters
.
no_outbound_task_timeout
);
switch
(
phy_user
->
max_speed_generation
)
{
switch
(
phy_user
->
max_speed_generation
)
{
case
SCIC_SDS_PARM_GEN3_SPEED
:
link_rate
=
SCU_SAS_LINK_LAYER_CONTROL_MAX_LINK_RATE_GEN3
;
break
;
...
...
drivers/scsi/isci/probe_roms.c
View file @
a5ec7f86
...
...
@@ -34,8 +34,9 @@
#include "task.h"
#include "probe_roms.h"
static
efi_char16_t
isci_efivar_name
[]
=
{
'R'
,
's'
,
't'
,
'S'
,
'c'
,
'u'
,
'O'
};
static
efi_char16_t
isci_efivar_name
[]
=
{
'R'
,
's'
,
't'
,
'S'
,
'c'
,
'u'
,
'O'
};
struct
isci_orom
*
isci_request_oprom
(
struct
pci_dev
*
pdev
)
{
...
...
@@ -182,7 +183,7 @@ struct isci_orom *isci_get_efi_var(struct pci_dev *pdev)
struct
isci_oem_hdr
*
oem_hdr
;
u8
*
tmp
,
sum
;
int
j
;
ssize_t
data_len
;
unsigned
long
data_len
;
u8
*
efi_data
;
u32
efi_attrib
=
0
;
...
...
drivers/scsi/isci/remote_device.c
View file @
a5ec7f86
...
...
@@ -73,7 +73,7 @@
static
void
isci_remote_device_not_ready
(
struct
isci_host
*
ihost
,
struct
isci_remote_device
*
idev
,
u32
reason
)
{
struct
isci_request
*
ireq
;
struct
isci_request
*
ireq
;
dev_dbg
(
&
ihost
->
pdev
->
dev
,
"%s: isci_device = %p
\n
"
,
__func__
,
idev
);
...
...
drivers/scsi/isci/request.h
View file @
a5ec7f86
drivers/scsi/isci/task.c
View file @
a5ec7f86
...
...
@@ -101,7 +101,8 @@ static void isci_task_refuse(struct isci_host *ihost, struct sas_task *task,
break
;
case
isci_perform_aborted_io_completion
:
/* No notification because this request is already in the
/*
* No notification because this request is already in the
* abort path.
*/
dev_dbg
(
&
ihost
->
pdev
->
dev
,
...
...
@@ -1056,7 +1057,7 @@ int isci_task_abort_task(struct sas_task *task)
dev_dbg
(
&
isci_host
->
pdev
->
dev
,
"%s: old_request == %p
\n
"
,
__func__
,
old_request
);
any_dev_reset
=
isci_device_is_reset_pending
(
isci_host
,
isci_device
);
any_dev_reset
=
isci_device_is_reset_pending
(
isci_host
,
isci_device
);
spin_lock_irqsave
(
&
task
->
task_state_lock
,
flags
);
...
...
@@ -1115,9 +1116,9 @@ int isci_task_abort_task(struct sas_task *task)
__func__
,
task
);
}
goto
out
;
}
else
}
else
{
spin_unlock_irqrestore
(
&
task
->
task_state_lock
,
flags
);
}
spin_lock_irqsave
(
&
isci_host
->
scic_lock
,
flags
);
...
...
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