projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/core: Add timestamp_mask and hca_core_clock to query_device
[deliverable/linux.git]
/
drivers
/
infiniband
/
core
/
device.c
diff --git
a/drivers/infiniband/core/device.c
b/drivers/infiniband/core/device.c
index 8d07c12ab7187615574385d7b84f8ee2aa7fa1eb..568cb41be904e88bb74efd6b70a3798e9a1e9f66 100644
(file)
--- a/
drivers/infiniband/core/device.c
+++ b/
drivers/infiniband/core/device.c
@@
-539,6
+539,8
@@
EXPORT_SYMBOL(ib_dispatch_event);
int ib_query_device(struct ib_device *device,
struct ib_device_attr *device_attr)
{
+ memset(device_attr, 0, sizeof(*device_attr));
+
return device->query_device(device, device_attr);
}
EXPORT_SYMBOL(ib_query_device);
This page took
0.024115 seconds
and
5
git commands to generate.