summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-12-07 14:22:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-15 13:41:34 +0100
commit1e5298d4c82be7ff1bc29e14298cb2366a28bc9d (patch)
tree1055b38b142e98e58b5126afbccf0ecc8b8da312 /scripts/gdb/linux/utils.py
parent33c7b0f74c57d1a3c0a623ce794d7f61e097d09c (diff)
ser_gigaset: return -ENOMEM on error instead of success
[ Upstream commit 93a97c50cbf1c007caf12db5cc23e0d5b9c8473c ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions