summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-09-10 12:08:05 +0200
committerMika Westerberg <mika.westerberg@linux.intel.com>2020-09-10 18:39:56 +0200
commit77e4907fa620af102f4571d4edb0dcc95b4fa083 (patch)
tree7eaf8cd3dae8dcc3b18cab08e521d5c64440d8dc /init
parentthunderbolt: Add debugfs interface (diff)
downloadlinux-77e4907fa620af102f4571d4edb0dcc95b4fa083.tar.xz
linux-77e4907fa620af102f4571d4edb0dcc95b4fa083.zip
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions