diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-05-01 15:42:10 -0600 |
---|---|---|
committer | Lukasz Majewski <l.majewski@samsung.com> | 2014-05-08 10:38:29 +0200 |
commit | 66b88b07cdab041ac0cf6a9bf5b131aedc248089 (patch) | |
tree | 374be3ccb4240ef80f93edff6a86f44e0c8cdb4f /.checkpatch.conf | |
parent | 340ed422d2a58c4858ba8e110c233e8ae92c04e0 (diff) | |
download | u-boot-imx-66b88b07cdab041ac0cf6a9bf5b131aedc248089.zip u-boot-imx-66b88b07cdab041ac0cf6a9bf5b131aedc248089.tar.gz u-boot-imx-66b88b07cdab041ac0cf6a9bf5b131aedc248089.tar.bz2 |
usb: ums: add error handling for failed registration
Without this, if g_dnl_register() fails, the UMS code continues on
blindly and crashes. This fix makes it simply print an error message
instead.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to '.checkpatch.conf')
0 files changed, 0 insertions, 0 deletions