Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
54dac83c
Commit
54dac83c
authored
Oct 04, 2005
by
Jeff Raubitschek
Committed by
Jeff Garzik
Oct 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata passthru] fix leak on error
parent
2ee73cc2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/scsi/libata-scsi.c
drivers/scsi/libata-scsi.c
+4
-2
No files found.
drivers/scsi/libata-scsi.c
View file @
54dac83c
...
...
@@ -116,8 +116,10 @@ int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg)
if
(
args
[
3
])
{
argsize
=
SECTOR_SIZE
*
args
[
3
];
argbuf
=
kmalloc
(
argsize
,
GFP_KERNEL
);
if
(
argbuf
==
NULL
)
return
-
ENOMEM
;
if
(
argbuf
==
NULL
)
{
rc
=
-
ENOMEM
;
goto
error
;
}
scsi_cmd
[
1
]
=
(
4
<<
1
);
/* PIO Data-in */
scsi_cmd
[
2
]
=
0x0e
;
/* no off.line or cc, read from dev,
...
...
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