Kernel: Add support for 6.12
Filtered from tiann/KernelSU #2793 Co-authored-by: libingxuan <84086386+aaaaaaaa-815@users.noreply.github.com>
This commit is contained in:
@@ -546,8 +546,8 @@ static bool add_filename_trans(struct policydb *db, const char *s,
|
||||
}
|
||||
|
||||
if (trans == NULL) {
|
||||
trans = (struct filename_trans_datum *)kcalloc(sizeof(*trans),
|
||||
1, GFP_ATOMIC);
|
||||
trans = (struct filename_trans_datum *)kcalloc(1 ,sizeof(*trans),
|
||||
GFP_ATOMIC);
|
||||
struct filename_trans_key *new_key =
|
||||
(struct filename_trans_key *)kmalloc(sizeof(*new_key),
|
||||
GFP_ATOMIC);
|
||||
|
||||
Reference in New Issue
Block a user