commit | 31f085fea891d5972e994dfb423231a3d4d60a8a | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Mon Mar 08 15:15:59 2010 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon May 10 09:34:03 2010 +0200 |
tree | cfb04aa39eebb895d07e1a4d97f865796594396f | |
parent | f48fd9c8cd746fdb055a97249a209c77dca0f710 [diff] |
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 <error27@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>