From: Dan Carpenter Date: Thu, 23 Jan 2014 23:53:45 +0000 (-0800) Subject: drivers/mailbox/omap: make mbox->irq signed for error handling X-Git-Tag: v3.14-rc1~108^2~147 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a102b4d144f0422eb8b0a59c7cb194bf12163a9;p=pandora-kernel.git drivers/mailbox/omap: make mbox->irq signed for error handling There is a bug in omap2_mbox_probe() where we try do: mbox->irq = platform_get_irq(pdev, info->irq_id); if (mbox->irq < 0) { The problem is that mbox->irq is unsigned so the error handling doesn't work. I've changed it to a signed integer. Signed-off-by: Dan Carpenter Cc: Suman Anna Cc: Greg Kroah-Hartman Cc: Omar Ramirez Luna Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed