]> git.pld-linux.org Git - packages/kernel.git/commitdiff
kernel-apparmor.patch: fix function prototypes
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Mon, 17 Oct 2016 16:19:02 +0000 (18:19 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 21 Oct 2016 13:32:21 +0000 (15:32 +0200)
RT kernel builds with -Werror=incompatible-pointer-types, so it would
fail here.

kernel-apparmor.patch

index f83524d55fb9c9373811b187edfc5811ae770d03..d6d4585978e335de979e3782ec35dc402415f46e 100644 (file)
@@ -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;
This page took 0.06553 seconds and 4 git commands to generate.