From: Hoang-Nam Nguyen Date: Tue, 29 Apr 2008 20:46:52 +0000 (-0700) Subject: IB/ehca: handle negative return value from ibmebus_request_irq() properly X-Git-Tag: v2.6.26-rc1~354^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7df109d917e85d3da2e25bd495c4997e87ed2a4e;p=pandora-kernel.git IB/ehca: handle negative return value from ibmebus_request_irq() properly ehca_create_eq() was assigning a signed return value to an unsiged local variable and then checking if the variable was < 0, which meant that errors were always ignored. Fix this by using one variable for signed integer return values and another for u64 hcall return values. Bug originally found by Roel Kluin <12o3l@tiscali.nl>. Signed-off-by: Hoang-Nam Nguyen Signed-off-by: Roland Dreier --- Reading git-diff-tree failed