diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-08-16 10:54:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-28 16:21:32 +0200 |
commit | 02729d17b1b818cc38a6b6319231a0cd86b132e4 (patch) | |
tree | ff50f75b956580af053090ee87be17dfccd0dfe0 /drivers/fmc | |
parent | thunderbolt: Allow clearing the key (diff) | |
download | linux-02729d17b1b818cc38a6b6319231a0cd86b132e4.tar.xz linux-02729d17b1b818cc38a6b6319231a0cd86b132e4.zip |
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