From: Greg Kroah-Hartman Date: Mon, 28 Jan 2008 17:50:12 +0000 (-0800) Subject: USB: handle idVendor of 0x0000 X-Git-Tag: v2.6.25-rc1~1075^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de6f92b9ee00e9f841fb1a63d0bd60593ec55dbe;p=pandora-kernel.git USB: handle idVendor of 0x0000 Some crazy devices in the wild have a vendor id of 0x0000. If we try to add a module alias with this id, we just can't do it due to a check in the file2alias.c file. Change the test to verify that both the vendor and product ids are 0x0000 to show a real "blank" module alias. Note, the module-init-tools package also needs to be changed to properly generate the depmod tables. Cc: Janusz Cc: stable Cc: Jon Masters Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed