diff options
author | Alexander Schmidt <alexs@linux.vnet.ibm.com> | 2008-08-12 15:46:27 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-08-12 11:34:59 -0700 |
commit | 129a10fb81309f455eeb444560ec38657d29c46f (patch) | |
tree | 544d44f33452e74b86a0869d5d5c64a503ba872b /drivers/video/s3fb.c | |
parent | 17c2b53adbf1ebd7a8b6a63e2597199676426dbf (diff) |
IB/ehca: Check idr_find() return value
The idr_find() function may fail when trying to get the QP that is
associated with a CQE, e.g. when a QP has been destroyed between the
generation of a CQE and the poll request for it. In consequence, the
return value of idr_find() must be checked and the CQE must be
discarded when the QP cannot be found.
Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/video/s3fb.c')
0 files changed, 0 insertions, 0 deletions