diff options
| author | 2007-07-10 16:55:57 +0300 | |
|---|---|---|
| committer | 2007-07-10 11:04:40 -0700 | |
| commit | 856c52a741950dc0be2c5c231efec626e9a0a3fa (patch) | |
| tree | 9cb262566a3a0521ce6b560813443b3f19b744a4 /scripts | |
| parent | IB/ehca: Improve latency by unlocking after triggering the hardware (diff) | |
IB/core: Take sizeof the correct pointer when calling kmalloc()
When allocating out_mad in show_pma_counter(), take sizeof *out_mad
instead of sizeof *in_mad. It is true that today the type of in_mad
and out_mad are the same, but this patch will give us a cleaner code.
Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
