diff options
author | Julia Lawall <julia@diku.dk> | 2010-12-29 15:57:54 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-31 16:50:09 +0100 |
commit | 5c10007560589a2335a77cbc92347b1474518296 (patch) | |
tree | 662d3e17401bd678a89b82cf635b2719de245917 /include/scsi | |
parent | [SCSI] bfa: remove unused defintions and misc cleanups (diff) | |
download | linux-5c10007560589a2335a77cbc92347b1474518296.tar.xz linux-5c10007560589a2335a77cbc92347b1474518296.zip |
[SCSI] gdth: Add missing call to gdth_ioctl_free
Add missing call to gdth_ioctl_free before aborting.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
expression buf,ha,len,addr,E;
@@
buf = gdth_ioctl_alloc(ha, len, FALSE, &addr)
... when != false buf != NULL
when != true buf == NULL
when != \(E = buf\|buf = E\)
when != gdth_ioctl_free(ha, len, buf, addr)
*return ...;
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions