]> asedeno.scripts.mit.edu Git - linux.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)
commitdd010bd7af6248b40ab31640a6e31fbebea5aa22
tree9aa7f8dd4f44d020f31d7af6213bdb4190663101
parent6da6c0db5316275015e8cc2959f12a17584aeb64
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: 9aaa3b8b4c56 ("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