Re: [linux-usb-devel] [patch 1/1] coverity: usb/host/ehci-dbg null check

2005-09-05 Thread David Brownell
as simple as teaching it that all the pointers in that union are aliases for each other. - Dave > From [EMAIL PROTECTED] Mon Sep 5 14:56:31 2005 > To: linux-usb-devel@lists.sourceforge.net > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] > From: [EMAIL PROTECTED] >

[linux-usb-devel] [patch 1/1] coverity: usb/host/ehci-dbg null check

2005-09-05 Thread akpm
From: "KAMBAROV, ZAUR" <[EMAIL PROTECTED]> Later in this function we check for the nullness of p.qh. So either this additonal test is needed or the existing one is redundant. This defect was found automatically by Coverity Prevent, a static analysis tool. (akpm: there's another deref of p.qh l