Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb/gadget: Fix clang -Wbitfield-constant-conversion
../drivers/usb/gadget/function/f_accessory.c:270:20: warning: implicit truncation from 'int' to bit-field changes value from 1 to -1 [-Wbitfield-constant-conversion] dev->disconnected = 1; ^ ~ ../drivers/usb/gadget/function/f_accessory.c:773:25: warning: implicit truncation from 'int' to bit-field changes value from 1 to -1 [-Wbitfield-constant-conversion] _acc_dev->disconnected = 1; ^ ~ AR drivers/soc/qcom/qmi_helpers.o ../drivers/usb/gadget/function/f_accessory.c:1178:14: warning: implicit truncation from 'int' to bit-field changes value from 1 to -1 [-Wbitfield-constant-conversion] dev->online = 1; ^ ~ Change-Id: I862d37481335eeb0d636d504355081c87e39a591 Signed-off-by: Angga <[email protected]>
- Loading branch information