commit | 77e4907fa620af102f4571d4edb0dcc95b4fa083 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Sep 10 13:08:05 2020 +0300 |
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | Thu Sep 10 19:39:56 2020 +0300 |
tree | 7eaf8cd3dae8dcc3b18cab08e521d5c64440d8dc | |
parent | 54e418106c765c5f3c378c770b0f8518632830da [diff] |
thunderbolt: debugfs: Fix uninitialized return in counters_write() If the first line is in an invalid format then the "ret" value is uninitialized. We should return -EINVAL instead. Fixes: 54e418106c76 ("thunderbolt: Add debugfs interface") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>