diff options
author | Mayank Rana <mrana@codeaurora.org> | 2016-03-02 14:56:23 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:48:12 -0700 |
commit | 06a8a7d33a9dc9e8059a02c2baf66ccddca2284e (patch) | |
tree | b61056b4bf69275ec4a8cf1a79ff10d1f4d41a92 /kernel/panic.c | |
parent | cb8b39f6318241d8461456dfb2c39260be368d05 (diff) |
usb: gadget: f_diag: Fix check to update dload cookie
This change update dload cookie if cdev->desc.iSerialNumber is already
available instead of trying to get string descriptors. It also adds
check against possibility of string descriptors being NULL to avoid
device crash.
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions