Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f914ffa6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "security: pfe: Remove __exit annotation to fix section mismatch"

parents 55ef5c3d 670225d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ static int __init pfk_ecryptfs_lsm_init(void)
/*
 * pfk_ecryptfs_deinit() - Deinit function, should be invoked by upper PFK layer
 */
void __exit pfk_ecryptfs_deinit(void)
void pfk_ecryptfs_deinit(void)
{
	pfk_ecryptfs_ready = false;
	ecryptfs_unregister_from_events(g_events_handle);
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -34,6 +34,6 @@ bool pfk_ecryptfs_allow_merge_bio(const struct bio *bio1,

int __init pfk_ecryptfs_init(void);

void __exit pfk_ecryptfs_deinit(void);
void pfk_ecryptfs_deinit(void);

#endif /* _PFK_ECRYPTFS_H_ */
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -44,7 +44,7 @@ static bool pfk_ext4_ready;
/*
 * pfk_ext4_deinit() - Deinit function, should be invoked by upper PFK layer
 */
void __exit pfk_ext4_deinit(void)
void pfk_ext4_deinit(void)
{
	pfk_ext4_ready = false;
}
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -32,6 +32,6 @@ bool pfk_ext4_allow_merge_bio(const struct bio *bio1,

int __init pfk_ext4_init(void);

void __exit pfk_ext4_deinit(void);
void pfk_ext4_deinit(void);

#endif /* _PFK_EXT4_H_ */