summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2014-10-16 15:33:26 +0400
committerFelipe Balbi <balbi@ti.com>2014-11-05 22:36:05 +0300
commitd23b4c3ee2d5cbdeaec9f8e7d8a9bdcc73836fb9 (patch)
treee12ed1da81a3977cd865ab428baad52075a83089 /include/linux
parent6e58ed578e2c65442b7a02deecc96e482c701654 (diff)
downloadlinux-d23b4c3ee2d5cbdeaec9f8e7d8a9bdcc73836fb9.tar.xz
usb: gadget: f_midi: check kstrdup() return value
kstrdup() might fail, so check its return value and react appropriately. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions