[packages/kernel/LINUX_4_4] kernel-apparmor.patch: fix function prototypes

jajcus jajcus at pld-linux.org
Fri Oct 21 23:13:48 CEST 2016


commit 68d1518e77b32e12bc37f99b485093dbff7f55f5
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Mon Oct 17 18:19:02 2016 +0200

    kernel-apparmor.patch: fix function prototypes
    
    RT kernel builds with -Werror=incompatible-pointer-types, so it would
    fail here.

 kernel-apparmor.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/kernel-apparmor.patch b/kernel-apparmor.patch
index f83524d..d6d4585 100644
--- a/kernel-apparmor.patch
+++ b/kernel-apparmor.patch
@@ -871,7 +871,7 @@ index 47fd244..fb92441 100644
  			   !(vma->vm_flags & VM_SHARED) ? MAP_PRIVATE : 0);
  }
  
-+static int apparmor_sb_mount(char *dev_name, struct path *path, char *type,
++static int apparmor_sb_mount(const char *dev_name, struct path *path, const char *type,
 +			     unsigned long flags, void *data)
 +{
 +	struct aa_profile *profile;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/b4de310e3b27a2231954d63e30c8ee4e9b24d8ba



More information about the pld-cvs-commit mailing list