diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-03-20 10:08:25 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-20 10:08:25 -0800 |
commit | 048975ac580a771fc5bb96c6b454cba897ab1a73 (patch) | |
tree | 32405003b3cb78a3e2ccf765868f60a273c1313b /drivers/infiniband/hw/mthca/mthca_eq.c | |
parent | 0b3ea0829cbcdaee6e018a83a2949ef458213f3b (diff) | |
download | kernel_samsung_smdk4412-048975ac580a771fc5bb96c6b454cba897ab1a73.zip kernel_samsung_smdk4412-048975ac580a771fc5bb96c6b454cba897ab1a73.tar.gz kernel_samsung_smdk4412-048975ac580a771fc5bb96c6b454cba897ab1a73.tar.bz2 |
IB: Coverity fixes to sysfs.c
Fix two bugs found by coverity:
- Memory leak in error path of alloc_group_attrs()
- Fencepost error in state_show(): the test should be < ARRAY_SIZE(),
not <= ARRAY_SIZE().
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_eq.c')
0 files changed, 0 insertions, 0 deletions