diff options
author | 2016-12-07 14:22:03 +0300 | |
---|---|---|
committer | 2016-12-08 14:19:17 -0500 | |
commit | 93a97c50cbf1c007caf12db5cc23e0d5b9c8473c (patch) | |
tree | 4d4b6c892210d23fdbfdf4c2a55c1ff74909b5bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NET: usb: cdc_mbim: add quirk for supporting Telit LE922A (diff) | |
download | linux-rng-93a97c50cbf1c007caf12db5cc23e0d5b9c8473c.tar.xz linux-rng-93a97c50cbf1c007caf12db5cc23e0d5b9c8473c.zip |
ser_gigaset: return -ENOMEM on error instead of success
If we can't allocate the resources in gigaset_initdriver() then we
should return -ENOMEM instead of zero.
Fixes: 2869b23e4b95 ("[PATCH] drivers/isdn/gigaset: new M101 driver (v2)")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions