Re: [patch] iommu/vt-d: signedness bug in alloc_irte()

2014-01-09 Thread Joerg Roedel
On Thu, Jan 09, 2014 at 08:32:36AM +0300, Dan Carpenter wrote: > "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 > e

[patch] iommu/vt-d: signedness bug in alloc_irte()

2014-01-08 Thread Dan Carpenter
"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 diff --git a/driver