All of lore.kernel.org
 help / color / mirror / Atom feed
* - sysctl-reimplement-the-sysctl-proc-support-warning-fix.patch removed from -mm tree
@ 2007-02-14  6:59 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-02-14  6:59 UTC (permalink / raw)
  To: akpm, ebiederm, mm-commits


The patch titled
     sysctl-reimplement-the-sysctl-proc-support warning fix
has been removed from the -mm tree.  Its filename was
     sysctl-reimplement-the-sysctl-proc-support-warning-fix.patch

This patch was dropped because it was folded into sysctl-reimplement-the-sysctl-proc-support.patch

------------------------------------------------------
Subject: sysctl-reimplement-the-sysctl-proc-support warning fix
From: Andrew Morton <akpm@osdl.org>

fs/proc/proc_sysctl.c: In function 'do_proc_sys_lookup':
fs/proc/proc_sysctl.c:128: warning: 'table' may be used uninitialized in this function

It this a bugfix too?


Eric W. Biederman <ebiederm@xmission.com>

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 fs/proc/proc_sysctl.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff -puN fs/proc/proc_sysctl.c~sysctl-reimplement-the-sysctl-proc-support-warning-fix fs/proc/proc_sysctl.c
--- a/fs/proc/proc_sysctl.c~sysctl-reimplement-the-sysctl-proc-support-warning-fix
+++ a/fs/proc/proc_sysctl.c
@@ -125,9 +125,10 @@ static struct ctl_table *do_proc_sys_loo
 						struct ctl_table_header **ptr)
 {
 	struct ctl_table_header *head;
-	struct ctl_table *table;
+	struct ctl_table *table = NULL;
 
-	for (head = sysctl_head_next(NULL); head; head = sysctl_head_next(head)) {
+	for (head = sysctl_head_next(NULL); head;
+			head = sysctl_head_next(head)) {
 		table = proc_sys_lookup_entry(parent, name, head->ctl_table);
 		if (table)
 			break;
_

Patches currently in -mm which might be from akpm@osdl.org are

origin.patch
scheduled-removal-of-sa_xxx-interrupt-flags-ata-fix.patch
sysctl-c99-convert-ctl_tables-in-ntfs-and-remove-sys_sysctl-support.patch
sysctl-move-utsname-sysctls-to-their-own-file-fix-2.patch
sysctl-create-sys-fs-binfmt_misc-as-an-ordinary-sysctl-entry.patch
sysctl-factor-out-sysctl_head_next-from-do_sysctl.patch
sysctl-reimplement-the-sysctl-proc-support.patch
sysctl-reimplement-the-sysctl-proc-support-warning-fix.patch
sysctl-reimplement-the-sysctl-proc-support-fix-2.patch
sysctl-remove-the-proc_dir_entry-member-for-the-sysctl-tables-ntfs-fix.patch
nr_blockdev_pages-in_interrupt-warning.patch
device-suspend-debug.patch
mutex-subsystem-synchro-test-module-fix.patch
slab-leaks3-default-y.patch
vdso-print-fatal-signals-use-ctl_unnumbered.patch
restore-rogue-readahead-printk.patch
put_bh-debug.patch
e1000-printk-warning-fixes.patch
acpi_format_exception-debug.patch
add-debugging-aid-for-memory-initialisation-problems-fix.patch
kmap_atomic-debugging.patch
shrink_slab-handle-bad-shrinkers.patch
ia64-enable-config_debug_spinlock_sleep.patch
squash-ipc-warnings.patch
squash-udf-warnings.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-14  6:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14  6:59 - sysctl-reimplement-the-sysctl-proc-support-warning-fix.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.