summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-09-05 20:24:24 -0700
committerRoland Dreier <rolandd@cisco.com>2009-09-05 20:24:24 -0700
commit1493ab4083c315a978e51b8957bf87859703745d (patch)
treebd7d8d96256aca31fdc904dddc1c4ae4e22a74b2 /lib/string.c
parentb1b8afb83336b66ac7198111aad4ead41132b53f (diff)
downloadlwn-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/string.c')
0 files changed, 0 insertions, 0 deletions