projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-block.git]
/
drivers
/
staging
/
dgrp
/
dgrp_dpa_ops.c
diff --git
a/drivers/staging/dgrp/dgrp_dpa_ops.c
b/drivers/staging/dgrp/dgrp_dpa_ops.c
index 1fc13de4bdd699a6a38dec3146d8ee749395da62..114799cddd85659899c092117cf95050e005f652 100644
(file)
--- a/
drivers/staging/dgrp/dgrp_dpa_ops.c
+++ b/
drivers/staging/dgrp/dgrp_dpa_ops.c
@@
-409,6
+409,7
@@
static long dgrp_dpa_ioctl(struct file *file, unsigned int cmd,
case DIGI_GETVPD:
+ memset(&vpd, 0, sizeof(vpd));
if (nd->nd_vpd_len > 0) {
vpd.vpd_len = nd->nd_vpd_len;
memcpy(&vpd.vpd_data, &nd->nd_vpd, nd->nd_vpd_len);