mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
ANDROID: block/keyslot-manager: fix checkpatch warning
Fix a checkpatch warning that I fixed when applying ANDROID-dm-add-support-for-passing-through-inline-crypto-support.patch to android12-5.4 (http://aosp/1394279). This gets android-mainline in sync. This should be folded into ANDROID-dm-add-support-for-passing-through-inline-crypto-support.patch. Bug: 162257830 Change-Id: I083209d174630220e3b6d148d7317600ce040a84 Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:
parent
5dbb93d2a9
commit
6b78d00f74
|
|
@ -484,7 +484,8 @@ void blk_ksm_intersect_modes(struct blk_keyslot_manager *parent,
|
|||
min(parent->max_dun_bytes_supported,
|
||||
child->max_dun_bytes_supported);
|
||||
parent->features &= child->features;
|
||||
for (i = 0; i < ARRAY_SIZE(child->crypto_modes_supported); i++) {
|
||||
for (i = 0; i < ARRAY_SIZE(child->crypto_modes_supported);
|
||||
i++) {
|
||||
parent->crypto_modes_supported[i] &=
|
||||
child->crypto_modes_supported[i];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user