diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2014-10-16 13:33:26 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-05 13:36:05 -0600 |
commit | d23b4c3ee2d5cbdeaec9f8e7d8a9bdcc73836fb9 (patch) | |
tree | e12ed1da81a3977cd865ab428baad52075a83089 /drivers/usb/gadget/function/Makefile | |
parent | 6e58ed578e2c65442b7a02deecc96e482c701654 (diff) | |
download | lwn-d23b4c3ee2d5cbdeaec9f8e7d8a9bdcc73836fb9.tar.gz lwn-d23b4c3ee2d5cbdeaec9f8e7d8a9bdcc73836fb9.zip |
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 'drivers/usb/gadget/function/Makefile')
0 files changed, 0 insertions, 0 deletions