From: Dan Carpenter Date: Thu, 9 Jan 2014 05:32:36 +0000 (+0300) Subject: iommu/vt-d: Fix signedness bug in alloc_irte() X-Git-Tag: v3.14-rc1~50^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f4c7448f46b881119998702530676b3400752a9;p=pandora-kernel.git iommu/vt-d: Fix signedness bug in alloc_irte() "index" needs to be signed for the error handling to work. I deleted a little bit of obsolete cruft related to "index" and "start_index" as well. Fixes: 360eb3c5687e ('iommu/vt-d: use dedicated bitmap to track remapping entry allocation status') Signed-off-by: Dan Carpenter Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed