diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-08-16 11:54:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-28 17:21:32 +0300 |
commit | 02729d17b1b818cc38a6b6319231a0cd86b132e4 (patch) | |
tree | ff50f75b956580af053090ee87be17dfccd0dfe0 /drivers/fmc | |
parent | e545f0d8a54a9594fe604d67d80ca6fddf72ca59 (diff) | |
download | linux-02729d17b1b818cc38a6b6319231a0cd86b132e4.tar.xz |
thunderbolt: Fix reset response_type
There is a mistake here where we accidentally use sizeof(TB_CFG_PKG_RESET)
instead of just TB_CFG_PKG_RESET. The size of an int is 4 so it's the
same as TB_CFG_PKG_NOTIFY_ACK.
Fixes: d7f781bfdbf4 ("thunderbolt: Rework control channel to be more reliable")
Reported-by: Colin King <colin.king@canonical.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: stable <stable@vger.kernel.org> # 4.13
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions