kernel-profilec-use-static-const-char-instead-of-static-char.patch removed from -mm tree
Subject: [merged] kernel-profilec-use-static-const-char-instead-of-static-char.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 09 Jun 2014 12:36:27 -0700
The patch titled
Subject: kernel/profile.c: use static const char instead of static char
has been removed from the -mm tree. Its filename was
kernel-profilec-use-static-const-char-instead-of-static-char.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Fabian Frederick <[email protected]>
Subject: kernel/profile.c: use static const char instead of static char
schedstr, sleepstr and kvmstr are only used in strcmp & strlen
---
kernel/profile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/profile.c renamed from kernel/profile.c~kernel-profilec-use-static-const-char-instead-of-static-char +3 -3
@@ -52,9 +52,9 @@ static DEFINE_MUTEX(profile_flip_mutex);int profile_setup (char *str) { -static char schedstr[] ="schedule" ; -static char sleepstr[] ="sleep" ; -static char kvmstr[] ="kvm" ; +static const char schedstr[] ="schedule" ; +static const char sleepstr[] ="sleep" ; +static const char kvmstr[] ="kvm" ;int par;if (!strncmp (str, sleepstr,strlen (sleepstr))) {
_
Patches currently in -mm which might be from [email protected] are
origin.patch
fs-cifs-remove-obsolete-__constant.patch kernel-posix-timersc-code-clean-up.patch kernel-posix-timersc-code-clean-up-checkpatch-fixes.patch fs-ext4-fsyncc-generic_file_fsync-call-based-on-barrier-flag.patch fs-isofs-logging-clean-up.patch
linux-next.patch kernel-watchdogc-convert-printk-pr_warning-to-pr_foo.patch init-mainc-code-clean-up.patch kernel-kprobesc-convert-printk-to-pr_foo.patch