diff options
author | Dave Airlie <airlied@linux.ie> | 2006-04-05 04:10:11 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-04-05 04:10:11 -0400 |
commit | 86678dfddba55a7b9e2ea084d59be6500fec2256 (patch) | |
tree | 3673c3233b884a605c5d9db529854c3b39b6b479 /drivers/char/hvc_vio.c | |
parent | 6246b6128bbe34d0752f119cf7c5111c85fe481d (diff) |
[PATCH] drm: Fix issue reported by Coverity in drivers/char/drm/via_irq.c
This patch tries to fix an issue reported in drivers/char/drm/via_irq.c by
Coverity, please review and apply if correct.
Error reported:
CID: 3444 Checker: REVERSE_INULL (help)
File: /export2/p4-coverity/mc2/linux26/drivers/char/drm/via_irq.c
Function: via_driver_irq_wait
Description: Pointer "dev_priv" dereferenced before NULL check
Patch Description:
Move de-referencing dev_priv to after the NULL check.
Signed-off-by: Jayachandran C. <c.jayachandran at gmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/hvc_vio.c')
0 files changed, 0 insertions, 0 deletions