summaryrefslogtreecommitdiff
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-03-17 19:39:49 (GMT)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-04-13 23:19:47 (GMT)
commit22e0487047567252d5677ff35766cd884375efc2 (patch)
tree792d135afe30d6af87d38ff5a8eb010d39c86053 /drivers/bluetooth
parent5a6c2f3ff039154872ce597952f8b8900ea0d732 (diff)
downloadlinux-fsl-qoriq-22e0487047567252d5677ff35766cd884375efc2.tar.xz
USB: xhci: unsigned char never equals -1
There were some places that compared port_speed == -1 where port_speed is a u8. This doesn't work unless we cast the -1 to u8. Some places did it correctly. Instead of using -1 directly, I've created a DUPLICATE_ENTRY define which does the cast and is more descriptive as well. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions