summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-01-26 13:26:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-03 16:44:21 +0100
commit9a80a0d4cf6af3ca55f34474aa5f7085e7ba6813 (patch)
tree857083ccd6424703a3e3573940f3e87434cf7fef /tools/perf/scripts/python/bin
parentaa7273ffb25fd64f5df48fd9227756c17c7b3a55 (diff)
USB: serial: mos7840: fix error code in mos7840_write()
commit a70aa7dc60099bbdcbd6faca42a915d80f31161e upstream. This should return -ENOMEM instead of 0 if the kmalloc() fails. Fixes: 3f5429746d91 ("USB: Moschip 7840 USB-Serial Driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions