From: Dave Airlie Date: Wed, 5 Apr 2006 08:10:11 +0000 (+1000) Subject: [PATCH] drm: Fix issue reported by Coverity in drivers/char/drm/via_irq.c X-Git-Tag: v2.6.17-rc2~8^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86678dfddba55a7b9e2ea084d59be6500fec2256;p=pandora-kernel.git [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. Signed-off-by: Dave Airlie --- Reading git-diff-tree failed