Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63426
b: refs/heads/master
c: f879665
h: refs/heads/master
v: v3
  • Loading branch information
Mariusz Kozlowski authored and David S. Miller committed Jul 31, 2007
1 parent 0e3d4bb commit 482f110
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: 313674afa8fdced2fe79f50f38e1c387b63d8790
refs/heads/master: f87966541ef15d28572c8a3caaec359801625228
4 changes: 2 additions & 2 deletions trunk/net/decnet/dn_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1737,16 +1737,16 @@ static int dn_rt_cache_seq_open(struct inode *inode, struct file *file)
{
struct seq_file *seq;
int rc = -ENOMEM;
struct dn_rt_cache_iter_state *s = kmalloc(sizeof(*s), GFP_KERNEL);
struct dn_rt_cache_iter_state *s;

s = kzalloc(sizeof(*s), GFP_KERNEL);
if (!s)
goto out;
rc = seq_open(file, &dn_rt_cache_seq_ops);
if (rc)
goto out_kfree;
seq = file->private_data;
seq->private = s;
memset(s, 0, sizeof(*s));
out:
return rc;
out_kfree:
Expand Down

0 comments on commit 482f110

Please sign in to comment.