public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Art Haas" <ahaas@neosoft.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] two small patches for fs/exec.c and fs/ramfs/inode.c
Date: Sun, 29 Jul 2001 11:00:45 -0500	[thread overview]
Message-ID: <20010729110045.C347@localhost.neosoft.com> (raw)

Hi.

Here are two trivial patches that remove warnings. The fs/exec.c patch
removes an unused variable, and the fs/ramfs/inode.c patch replaces
a call of `linux/malloc.h' with `linux/slab.h'. Both patches I've
applied to my 2.4.7-ac2 kernel. Sorry if this is the 50th time you've
seen these posted to the mailing list ...

My thanks to everyone working on the kernel. The 2.4 kernels keep
getting better every day!

Art Haas 

====================================================

--- fs/exec.c.orig	Sat Jul 28 11:52:47 2001
+++ fs/exec.c	Sat Jul 28 12:25:28 2001
@@ -929,7 +929,6 @@
 
 int do_coredump(long signr, struct pt_regs * regs)
 {
-	struct mm_struct *mm;
 	struct linux_binfmt * binfmt;
 	char corename[6+sizeof(current->comm)+10];
 	struct file * file;

====================================================

--- fs/ramfs/inode.c.orig	Sat Jul 28 11:52:50 2001
+++ fs/ramfs/inode.c	Sat Jul 28 13:00:26 2001
@@ -30,7 +30,7 @@
 #include <linux/string.h>
 #include <linux/locks.h>
 #include <linux/highmem.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 
 #include <asm/uaccess.h>
 #include <linux/spinlock.h>


                 reply	other threads:[~2001-07-29 15:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010729110045.C347@localhost.neosoft.com \
    --to=ahaas@neosoft.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox