diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-05-14 11:33:30 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-05-18 11:22:53 +0200 |
commit | c8fd51dc12c6e22bb97d5e273babcf339770aba5 (patch) | |
tree | 334902c961b74e0af2ac437a7f7e5f85eebc559b /fs/dlm | |
parent | af43c4086cf24c3eb74a968195351163750c82b6 (diff) | |
download | linux-c8fd51dc12c6e22bb97d5e273babcf339770aba5.tar.bz2 |
HID: i2c-hid: fix harmless test_bit() issue
These defines are used like this:
if (test_bit(I2C_HID_STARTED, &ihid->flags))
The intent was to use bits 0, 1, and 2 but because of the extra shifts
we're using bits 1, 2, and 4. It's harmless becuase it's done
consistently but it's not the intent and static checkers will complain.
Fixes: 4a200c3b9a40 ('HID: i2c-hid: introduce HID over i2c specification implementation')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/dlm')
0 files changed, 0 insertions, 0 deletions