diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-09-05 20:24:24 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-09-05 20:24:24 -0700 |
commit | 1493ab4083c315a978e51b8957bf87859703745d (patch) | |
tree | bd7d8d96256aca31fdc904dddc1c4ae4e22a74b2 /lib/atomic64.c | |
parent | b1b8afb83336b66ac7198111aad4ead41132b53f (diff) | |
download | lwn-1493ab4083c315a978e51b8957bf87859703745d.tar.gz lwn-1493ab4083c315a978e51b8957bf87859703745d.zip |
RDMA/amso1100: Check kmalloc() result in c2_register_device()
dev->ibdev.iwcm allocation may fail, prevent a dereference.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'lib/atomic64.c')
0 files changed, 0 insertions, 0 deletions