]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Handle NULL boot ACL entries properly
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 15 May 2018 13:04:25 +0000 (16:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 May 2018 16:02:00 +0000 (18:02 +0200)
commit73042d306d2c067828dede490530fc5d83d189a7
tree9aa7f8dd4f44d020f31d7af6213bdb4190663101
parent92b39948b4c6667a1235cb96f58e80dbb4ee6b42
thunderbolt: Handle NULL boot ACL entries properly

If the boot ACL entry is already NULL we should not fill in the upper
two DWs with 0xfffffffff. Otherwise they are not shown as empty entries
when the sysfs attribute is read.

Fixes: d4c9d16dca9f ("thunderbolt: Add support for preboot ACL")
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Yehezkel Bernat <yehezkelshb@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/icm.c