From: Tomas Winkler Date: Sun, 13 Nov 2011 07:41:15 +0000 (+0200) Subject: staging/mei: fix check for allocating host client id X-Git-Tag: v3.3-rc1~152^2~101^2~360 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f37aca827e6d075c9e9d3ab1b233cce2a3bc9f1;p=pandora-kernel.git staging/mei: fix check for allocating host client id MEI_CLIENTS_MAX is 255 and host_client_id is u8 therefore for check to work we need to first assign the return value of find_first_zero_bit to unsigned long variable Fix warning drivers/staging/mei/main.c: In function mei_open drivers/staging/mei/main.c:260:2: warning: comparison is always false due to limited range of data type Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed