From: Dan Carpenter Date: Mon, 8 Mar 2010 12:15:59 +0000 (+0300) Subject: Bluetooth: Fix storing negative values as unsigned char X-Git-Tag: v2.6.35-rc1~473^2~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f085fea891d5972e994dfb423231a3d4d60a8a;p=pandora-kernel.git Bluetooth: Fix storing negative values as unsigned char This is mostly cleanup. There is only one caller and it just checks for non-zero return values. Still "ret" should be int because we want to return -EINVAL on errors. Signed-off-by: Dan Carpenter Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed