From: Greg Ungerer <gerg@snapgear.com>
To: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Cc: Roman Zippel <zippel@linux-m68k.org>,
John Stultz <johnstul@us.ibm.com>,
Dominik Brodowski <linux@dominikbrodowski.net>,
linux-kernel@vger.kernel.org,
Grant Likely <grant.likely@secretlab.ca>,
Alexander Kurz <linux@kbdbabel.org>,
linux-mtd@lists.infradead.org, Michael Roth <mroth@nessie.de>,
Greg Ungerer <gerg@uclinux.org>, Christoph Hellwig <hch@lst.de>,
Finn Thain <fthain@telegraphics.com.au>,
Tony Lindgren <tony@atomide.com>,
vamos-dev@i4.informatik.uni-erlangen.de,
Geert Uytterhoeven <geert@linux-m68k.org>,
Lennart Sorensen <lsorense@csclub.uwaterloo.ca>,
Russell King <rmk+kernel@arm.linux.org.uk>,
Anatolij Gustschin <agust@denx.de>, Sam Creasey <sammy@sammy.net>,
linux-pcmcia@lists.infradead.org,
Mike Frysinger <vapier@gentoo.org>,
Sean MacLennan <smaclennan@pikatech.com>,
Joe Perches <joe@perches.com>,
linux-m68k@lists.linux-m68k.org,
Maxim Kuvyrkov <maxim@codesourcery.com>,
Thomas Gleixner <tglx@linutronix.de>,
Jiri Kosina <jkosina@suse.cz>,
Greg Kroah-Hartman <gregkh@suse.de>,
Wolfram Sang <w.sang@pengutronix.de>,
Ralf Baechle <ralf@linux-mips.org>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Manuel Lauss <manuel.lauss@gmail.com>,
Andrew Morton <akpm@linux-foundation.org>,
David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH 0/9] Removing dead code
Date: Mon, 9 Aug 2010 15:50:13 +1000 [thread overview]
Message-ID: <4C5F9715.1030806@snapgear.com> (raw)
In-Reply-To: <cover.1280924671.git.qy03fugy@stud.informatik.uni-erlangen.de>
Hi Christian,
Christian Dietrich wrote:
> As part of the VAMOS[0] research project at the University of
> Erlangen we are looking at multiple integrity errors in linux'
> configuration system.
>
> I've been running a check on the arch/m68k{,nommu} sourcetree for
> config Items not defined in Kconfig and found 9 such cases. Sourcecode
> blocks depending on these Items are not reachable from a vanilla
> kernel -- dead code. I've seen such dead blocks made on purpose
> e.g. while integrating new features into the kernel but generally
> they're just useless.
>
> Each of the patches in this patchset removes on such dead
> config Item, I'd be glad if you consider applying them. I've been
> doing deeper analysis of such issues before and can do so again but
> I'm not so sure they were fastly usefull.
>
> In lack of an m68k cross compiler i was not able to build the kernel
> against this patches. I don't think that they will crash the
> compiling, but i'm not totally sure.
>
> Please keep me informed of this patch getting confirmed /
> merged so we can keep track of it.
I don't have any problems with any of these from a
m68knommu point of view. I can merge them via the
m68knommu git tree if you want?
Regards
Greg
> [0] http://vamos1.informatik.uni-erlangen.de/
>
> Christian Dietrich (9):
> arch/m68k: Removing dead GG2 config option
> arch/m68k: Removing dead BSEIP config option
> arch/m68k{,nommu}: Removing dead SMP config option
> Removing dead CONFIG_RPX(LITE|CLASSIC)
> arch/m68knommu: Removing dead M68000 config option
> arch/m68knommu: Removing dead RELOCATE config option
> arch/m68knommu: Removing dead M68KFPU_EMU config option
> arch/m68knommu: Removing dead RAM_{16,32}_MB config option
> arch/m68knommu: Removing dead 68328_SERIAL_UART2 config option
>
> arch/m68k/Kconfig | 4 +-
> arch/m68k/include/asm/amigahw.h | 1 -
> arch/m68k/include/asm/commproc.h | 39 --------------
> arch/m68k/include/asm/io_mm.h | 37 --------------
> arch/m68k/include/asm/system_mm.h | 2 -
> arch/m68k/include/asm/system_no.h | 9 ---
> arch/m68k/kernel/setup.c | 6 --
> arch/m68k/kernel/time.c | 2 -
> arch/m68k/sun3/sun3ints.c | 8 +--
> arch/m68knommu/kernel/ptrace.c | 18 -------
> arch/m68knommu/kernel/setup.c | 3 -
> arch/m68knommu/kernel/time.c | 3 +-
> arch/m68knommu/kernel/traps.c | 13 -----
> arch/m68knommu/platform/68328/head-de2.S | 6 --
> arch/m68knommu/platform/68328/head-ram.S | 27 ----------
> arch/m68knommu/platform/68VZ328/config.c | 5 --
> drivers/mtd/maps/Kconfig | 10 ----
> drivers/mtd/maps/Makefile | 1 -
> drivers/mtd/maps/rpxlite.c | 64 -----------------------
> drivers/pcmcia/m8xx_pcmcia.c | 81 ------------------------------
> drivers/serial/68328serial.h | 5 --
> 21 files changed, 6 insertions(+), 338 deletions(-)
> delete mode 100644 drivers/mtd/maps/rpxlite.c
>
>
--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: gerg@snapgear.com
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com
next prev parent reply other threads:[~2010-08-09 5:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 12:41 [PATCH 0/9] Removing dead code Christian Dietrich
2010-08-04 12:41 ` [PATCH 4/9] Removing dead CONFIG_RPX(LITE|CLASSIC) Christian Dietrich
2010-08-09 5:50 ` Greg Ungerer [this message]
2010-08-09 9:03 ` [PATCH 0/9] Removing dead code Christian Dietrich
2010-08-23 10:07 ` Christian Dietrich
2010-08-23 14:46 ` Geert Uytterhoeven
2010-08-27 6:14 ` Greg Ungerer
2010-08-27 7:14 ` Geert Uytterhoeven
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=4C5F9715.1030806@snapgear.com \
--to=gerg@snapgear.com \
--cc=agust@denx.de \
--cc=akpm@linux-foundation.org \
--cc=dwmw2@infradead.org \
--cc=fthain@telegraphics.com.au \
--cc=geert@linux-m68k.org \
--cc=gerg@uclinux.org \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@suse.de \
--cc=hch@lst.de \
--cc=jkosina@suse.cz \
--cc=joe@perches.com \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-pcmcia@lists.infradead.org \
--cc=linux@dominikbrodowski.net \
--cc=linux@kbdbabel.org \
--cc=lsorense@csclub.uwaterloo.ca \
--cc=manuel.lauss@gmail.com \
--cc=maxim@codesourcery.com \
--cc=mroth@nessie.de \
--cc=qy03fugy@stud.informatik.uni-erlangen.de \
--cc=ralf@linux-mips.org \
--cc=rmk+kernel@arm.linux.org.uk \
--cc=sammy@sammy.net \
--cc=schwidefsky@de.ibm.com \
--cc=smaclennan@pikatech.com \
--cc=tglx@linutronix.de \
--cc=tony@atomide.com \
--cc=vamos-dev@i4.informatik.uni-erlangen.de \
--cc=vapier@gentoo.org \
--cc=w.sang@pengutronix.de \
--cc=zippel@linux-m68k.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;
as well as URLs for NNTP newsgroup(s).