Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195680
b: refs/heads/master
c: 6e51f08
h: refs/heads/master
v: v3
  • Loading branch information
Christof Schmitt authored and James Bottomley committed May 2, 2010
1 parent 65f543b commit 1460cfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 64deb6efdc5504ce97b5c1c6f281fffbc150bd93
refs/heads/master: 6e51f085f64a79c7647e88a8a019b7bd84f42255
4 changes: 2 additions & 2 deletions trunk/drivers/s390/scsi/zfcp_fc.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ static int zfcp_fc_adisc(struct zfcp_port *port)
struct zfcp_adapter *adapter = port->adapter;
int ret;

adisc = kmem_cache_alloc(zfcp_data.adisc_cache, GFP_ATOMIC);
adisc = kmem_cache_zalloc(zfcp_data.adisc_cache, GFP_ATOMIC);
if (!adisc)
return -ENOMEM;

Expand Down Expand Up @@ -493,7 +493,7 @@ static struct zfcp_fc_gpn_ft *zfcp_alloc_sg_env(int buf_num)
if (!gpn_ft)
return NULL;

req = kmem_cache_alloc(zfcp_data.gpn_ft_cache, GFP_KERNEL);
req = kmem_cache_zalloc(zfcp_data.gpn_ft_cache, GFP_KERNEL);
if (!req) {
kfree(gpn_ft);
gpn_ft = NULL;
Expand Down

0 comments on commit 1460cfa

Please sign in to comment.