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
bdc629c9
Commit
bdc629c9
authored
Nov 04, 2002
by
Andrew Morton
Committed by
Linus Torvalds
Nov 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] timers: scsi
The patches which I needed to avoid the warnings with my build.
parent
bc3c081b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
drivers/scsi/scsi.c
drivers/scsi/scsi.c
+2
-0
No files found.
drivers/scsi/scsi.c
View file @
bdc629c9
...
@@ -603,6 +603,7 @@ inline void __scsi_release_command(Scsi_Cmnd * SCpnt)
...
@@ -603,6 +603,7 @@ inline void __scsi_release_command(Scsi_Cmnd * SCpnt)
GFP_DMA
:
0
));
GFP_DMA
:
0
));
if
(
newSCpnt
)
{
if
(
newSCpnt
)
{
memset
(
newSCpnt
,
0
,
sizeof
(
Scsi_Cmnd
));
memset
(
newSCpnt
,
0
,
sizeof
(
Scsi_Cmnd
));
init_timer
(
&
newSCpnt
->
eh_timeout
);
newSCpnt
->
host
=
SDpnt
->
host
;
newSCpnt
->
host
=
SDpnt
->
host
;
newSCpnt
->
device
=
SDpnt
;
newSCpnt
->
device
=
SDpnt
;
newSCpnt
->
target
=
SDpnt
->
id
;
newSCpnt
->
target
=
SDpnt
->
id
;
...
@@ -1551,6 +1552,7 @@ void scsi_build_commandblocks(Scsi_Device * SDpnt)
...
@@ -1551,6 +1552,7 @@ void scsi_build_commandblocks(Scsi_Device * SDpnt)
}
}
memset
(
SCpnt
,
0
,
sizeof
(
Scsi_Cmnd
));
memset
(
SCpnt
,
0
,
sizeof
(
Scsi_Cmnd
));
init_timer
(
&
SCpnt
->
eh_timeout
);
SCpnt
->
host
=
SDpnt
->
host
;
SCpnt
->
host
=
SDpnt
->
host
;
SCpnt
->
device
=
SDpnt
;
SCpnt
->
device
=
SDpnt
;
SCpnt
->
target
=
SDpnt
->
id
;
SCpnt
->
target
=
SDpnt
->
id
;
...
...
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