summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/net2272.h
diff options
context:
space:
mode:
authorDu, ChangbinX <changbinx.du@intel.com>2013-12-17 11:47:42 +0000
committerChanho Park <chanho61.park@samsung.com>2014-03-20 17:43:31 +0900
commit8d7c4f1ae172d036e386d0a7181d8dee9533ed4a (patch)
tree977d1880e6bdcea4634e50269d0635289b18a80a /drivers/usb/gadget/net2272.h
parent6223d9258b52fd63195de7724ef1d4d862b53358 (diff)
downloadlinux-3.10-8d7c4f1ae172d036e386d0a7181d8dee9533ed4a.tar.gz
linux-3.10-8d7c4f1ae172d036e386d0a7181d8dee9533ed4a.tar.bz2
linux-3.10-8d7c4f1ae172d036e386d0a7181d8dee9533ed4a.zip
usb: gadget: should use u16 type variable to store MaxPower
From 7e827a0d300e084f74c65122baa5e3193f9a7f18 Mon Sep 17 00:00:00 2001 From: "Du, Changbin" <changbinx.du@intel.com> Date: Mon, 16 Dec 2013 20:32:13 +0800 Subject: [PATCH] usb/gadget: should use u16 type variable to store MaxPower The MaxPower field is of u16 type. So using u8 type variable can break data (high byte lost). Signed-off-by: Du, Changbin <changbinx.du@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/net2272.h')
0 files changed, 0 insertions, 0 deletions