Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103330
b: refs/heads/master
c: dde77e6
h: refs/heads/master
v: v3
  • Loading branch information
Joonwoo Park authored and David S. Miller committed Jul 8, 2008
1 parent d72c05e commit 556816c
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 43138833ee9af07e865a4dcbfe81684c9c2f2262
refs/heads/master: dde77e604497dada6f224a685278dfb27747ae52
3 changes: 1 addition & 2 deletions trunk/include/linux/textsearch.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,10 @@ static inline struct ts_config *alloc_ts_config(size_t payload,
{
struct ts_config *conf;

conf = kmalloc(TS_PRIV_ALIGN(sizeof(*conf)) + payload, gfp_mask);
conf = kzalloc(TS_PRIV_ALIGN(sizeof(*conf)) + payload, gfp_mask);
if (conf == NULL)
return ERR_PTR(-ENOMEM);

memset(conf, 0, TS_PRIV_ALIGN(sizeof(*conf)) + payload);
return conf;
}

Expand Down

0 comments on commit 556816c

Please sign in to comment.