summaryrefslogtreecommitdiffstats
path: root/drivers/usb/wusbcore/dev-sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/wusbcore/dev-sysfs.c')
-rw-r--r--drivers/usb/wusbcore/dev-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/wusbcore/dev-sysfs.c b/drivers/usb/wusbcore/dev-sysfs.c
index 101834576236..415b14002a61 100644
--- a/drivers/usb/wusbcore/dev-sysfs.c
+++ b/drivers/usb/wusbcore/dev-sysfs.c
@@ -101,7 +101,7 @@ static ssize_t wusb_ck_store(struct device *dev,
if (wusbhc == NULL)
return -ENODEV;
result = wusb_dev_4way_handshake(wusbhc, usb_dev->wusb_dev, &ck);
- memset(&ck, 0, sizeof(ck));
+ memzero_explicit(&ck, sizeof(ck));
wusbhc_put(wusbhc);
return result < 0 ? result : size;
}