diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-09-10 19:06:44 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-10 20:04:20 +0300 |
commit | 5c4d46eb89fe99011a02048533857345d9e8b506 (patch) | |
tree | 0ffe7e23d42f45bc0da7dd6ec25e5fd42ebecce8 /include/linux | |
parent | 9830317a3f97afc358949ffa87529ee9da49bb44 (diff) |
usb: gadget serial: don't shift bcd version left by 16
Fengguang Wu reported:
|drivers/usb/gadget/serial.c:89:22: sparse: cast truncates bits from
|constant value (24000000 becomes 0)
I obviously let the version number shift away. Since the version is a
16bit number it can be applied as it.
Cc: fengguang.wu@intel.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions