Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354212
b: refs/heads/master
c: 232827f
h: refs/heads/master
v: v3
  • Loading branch information
Peter Huewe authored and Jonathan Cameron committed Jan 26, 2013
1 parent 6fcce22 commit f46397a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 81ca486fe54c799033fac1eb6d93baf64df37ba6
refs/heads/master: 232827fb8168d07844a589f0d4991afab16a23ea
2 changes: 1 addition & 1 deletion trunk/drivers/staging/iio/iio_hwmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ static int iio_hwmon_probe(struct platform_device *pdev)
while (st->channels[st->num_channels].indio_dev)
st->num_channels++;

st->attrs = kzalloc(sizeof(st->attrs) * (st->num_channels + 1),
st->attrs = kzalloc(sizeof(*st->attrs) * (st->num_channels + 1),
GFP_KERNEL);
if (st->attrs == NULL) {
ret = -ENOMEM;
Expand Down

0 comments on commit f46397a

Please sign in to comment.