]> git.neil.brown.name Git - history.git/log
history.git
22 years ago[PATCH] ia64: kill SN kdba_io.c
Christoph Hellwig [Fri, 26 Sep 2003 06:52:24 +0000 (23:52 -0700)]
[PATCH] ia64: kill SN kdba_io.c

Keith shared my opionion that it's completly useless.  Also everyone
seems to favour keeping kdb stuff out of mainline.

22 years agoia64: Patch by Christoph Hellwig: SN2 stopped abusing devfs in 2.5, clean
David Mosberger [Fri, 26 Sep 2003 06:51:29 +0000 (23:51 -0700)]
ia64: Patch by Christoph Hellwig: SN2 stopped abusing devfs in 2.5, clean
up the leftovers.

22 years agoia64: Patch by Christoph Hellwig: None of the exported symbols is referenced
David Mosberger [Fri, 26 Sep 2003 06:43:36 +0000 (23:43 -0700)]
ia64: Patch by Christoph Hellwig: None of the exported symbols is referenced
by a module, even more the file doesn't compile when
CONFIG_IA64_SGI_SN_DEBUG is set.

22 years agoia64: Patch by Christoph Hellwig: Kill two SN headers never references in
David Mosberger [Fri, 26 Sep 2003 06:35:52 +0000 (23:35 -0700)]
ia64: Patch by Christoph Hellwig: Kill two SN headers never references in
the current tree.

22 years agoia64: Mark access_ok() as likely to succeed (as is done in x86 tree).
David Mosberger [Tue, 23 Sep 2003 06:52:10 +0000 (23:52 -0700)]
ia64: Mark access_ok() as likely to succeed (as is done in x86 tree).

22 years agoia64: Improve comment for reserve_memory().
David Mosberger [Tue, 23 Sep 2003 06:47:44 +0000 (23:47 -0700)]
ia64: Improve comment for reserve_memory().

22 years agoia64: Based on patch by Jess Barnes: split up memory-initialization
David Mosberger [Mon, 22 Sep 2003 11:50:28 +0000 (04:50 -0700)]
ia64: Based on patch by Jess Barnes: split up memory-initialization
from kernel/setup.c into two separate files: mm/{dis,contig}.c
to handle contiguous vs. discontiguous memory layouts.

22 years ago[PATCH] ia64: bail out of sba_init() if no hardware found
Bjorn Helgaas [Mon, 22 Sep 2003 08:39:57 +0000 (01:39 -0700)]
[PATCH] ia64: bail out of sba_init() if no hardware found

This patch against 2.5 gets rid of the following annoying but
harmless messages when booting a generic kernel on a non-ZX1 box:

        No IOC for PCI Bus 0000:00 in ACPI
        No IOC for PCI Bus 0000:01 in ACPI
        ...

We just forgot to bail out of the SBA IOMMU init function if it didn't
find any SBA hardware.

22 years ago[PATCH] ia64: trivial sba_iommu patch
Bjorn Helgaas [Thu, 18 Sep 2003 05:15:04 +0000 (22:15 -0700)]
[PATCH] ia64: trivial sba_iommu patch

I'm aligning the 2.4 and 2.5 versions of arch/ia64/hp/common/sba_iommu.c
and found a couple nits in the 2.5 version.  No functional change, just
whitespace, comment, and parameter name changes (and I made
one function static).

22 years ago[PATCH] ia64: fix for include/asm-ia64/acpi.h
Jes Sorensen [Thu, 18 Sep 2003 05:11:58 +0000 (22:11 -0700)]
[PATCH] ia64: fix for include/asm-ia64/acpi.h

asm/acpi.h relies on struct pci_vector_struct which is defined in
asm/system.h.

22 years ago[PATCH] ia64: include/asm-ia64/sn/router.h cleanup
Jes Sorensen [Thu, 18 Sep 2003 05:10:35 +0000 (22:10 -0700)]
[PATCH] ia64: include/asm-ia64/sn/router.h cleanup

Minor cleanup.

22 years ago[PATCH] ia64: sn2 header file cleanup
Jes Sorensen [Thu, 18 Sep 2003 05:09:27 +0000 (22:09 -0700)]
[PATCH] ia64: sn2 header file cleanup

This patch removes a ton of pointless big endian defines for some
registers on SN2 and cleans up the #include hierachy making it include
some really big header files only when they are really needed.

22 years ago[PATCH] ia64: pass si_isr for a few more signal sources
Stéphane Eranian [Thu, 18 Sep 2003 05:07:24 +0000 (22:07 -0700)]
[PATCH] ia64: pass si_isr for a few more signal sources

This patch changes the kernel such that si_isr gets setup for hardware
breakpoints, single-step, and taken-branch traps.  This is useful, e.g., to
determine what kind of hw breakpoint triggered the signal.

22 years ago[PATCH] ia64: small sn2 cleanup
Jes Sorensen [Thu, 18 Sep 2003 05:04:44 +0000 (22:04 -0700)]
[PATCH] ia64: small sn2 cleanup

Attached is a small cleanup patch for the sn2 header files which removes
some cases of excessive header file inclusion.

22 years agoia64: Control /proc/bus/mckinley/zx1 via separate SBA_PROC_FS macro and turn
David Mosberger [Thu, 18 Sep 2003 05:03:39 +0000 (22:03 -0700)]
ia64: Control /proc/bus/mckinley/zx1 via separate SBA_PROC_FS macro and turn
      SBA_PROC_FS off by default (it's too much of a scalability bottleneck).

22 years agoia64: In <asm-ia64/param.h>, do not include <linux/config.h> outside
David Mosberger [Wed, 17 Sep 2003 11:59:48 +0000 (04:59 -0700)]
ia64: In <asm-ia64/param.h>, do not include <linux/config.h> outside
the #ifdef __KERNEL__ bracket.  Doing so pollutes the user-
level namespace.  Bug report & proposed fix by GOTO Masanori.

22 years ago[PATCH] ia64: minor perfmon2 patch
Stéphane Eranian [Mon, 15 Sep 2003 08:24:02 +0000 (01:24 -0700)]
[PATCH] ia64: minor perfmon2 patch

This patch fixes a typo in pfm_write_pmcs() in the test for the default
value. The code was using the lop index instead of the register
index in the PMC_DFL_VAL() macro. This was causing valid values
for some PMCs to be rejected.

22 years agoia64: Re-enable /proc/sal support. Bug reported by Stephane Eranian, patch
David Mosberger [Mon, 15 Sep 2003 08:22:48 +0000 (01:22 -0700)]
ia64: Re-enable /proc/sal support.  Bug reported by Stephane Eranian, patch
by Jesse Barnes.

22 years ago[PATCH] ia64: protect PAL mapping printk with EFI_DEBUG
Jesse Barnes [Mon, 15 Sep 2003 08:18:00 +0000 (01:18 -0700)]
[PATCH] ia64: protect PAL mapping printk with EFI_DEBUG

Having this print out for every CPU on a large system was a pain, so
protect the printk with EFI_DEBUG.

22 years ago[PATCH] ia64: turn off SLIT debugging
Jesse Barnes [Mon, 15 Sep 2003 08:16:29 +0000 (01:16 -0700)]
[PATCH] ia64: turn off SLIT debugging

This code works pretty well now, so we don't need to dump all this stuff
at boot time (esp. on 128 node systems).

22 years ago[PATCH] ia64: update Kconfig comment for NR_CPUS
Jesse Barnes [Tue, 9 Sep 2003 10:01:56 +0000 (03:01 -0700)]
[PATCH] ia64: update Kconfig comment for NR_CPUS

22 years ago[PATCH] ia64: cpumask_t fixes
Jesse Barnes [Tue, 9 Sep 2003 04:55:09 +0000 (21:55 -0700)]
[PATCH] ia64: cpumask_t fixes

This patch coverts a few spots to use cpumask_t instead of unsigned
long.

22 years ago[PATCH] ia64: unwind.c fix for spinlock-debug compilation
Peter Chubb [Mon, 8 Sep 2003 15:18:33 +0000 (08:18 -0700)]
[PATCH] ia64: unwind.c fix for spinlock-debug compilation

If you try to compile 2.6.0-test[45] with spinlock debugging on, then
unwind.c won't compile, because it uses a #define magic that hides
the variable in the spinlock debugging code (also called magic).

22 years ago[PATCH] ia64: MINSIGSTKSZ on ia32
Arun Sharma [Mon, 8 Sep 2003 10:10:45 +0000 (03:10 -0700)]
[PATCH] ia64: MINSIGSTKSZ on ia32

MINSIGSTKSZ is defined differently for i386 and ia64. This patch improves
compatibility with apps which use sigaltstack(2) with sizes between
MINSIGSTKSZ_IA32 and MINSIGSTKSZ.

22 years ago[PATCH] ia64: fix typo in spinlock.h
Suresh B. Siddha [Mon, 8 Sep 2003 09:29:54 +0000 (02:29 -0700)]
[PATCH] ia64: fix typo in spinlock.h

22 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
David Mosberger [Mon, 8 Sep 2003 06:51:34 +0000 (23:51 -0700)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5

22 years ago[PATCH] ia64: fix current usage in sn2 code
Jesse Barnes [Mon, 8 Sep 2003 06:13:42 +0000 (23:13 -0700)]
[PATCH] ia64: fix current usage in sn2 code

For some reason, we had a structure field called 'current'.  This patch
fixes that.

22 years ago[PATCH] ia64: misc. sn2 updates
Jesse Barnes [Mon, 8 Sep 2003 06:12:55 +0000 (23:12 -0700)]
[PATCH] ia64: misc. sn2 updates

Fix a couple of sn2 files.

22 years agoLinux 2.6.0-test5 v2.6.0-test5
Linus Torvalds [Mon, 8 Sep 2003 05:45:46 +0000 (22:45 -0700)]
Linux 2.6.0-test5

22 years agoia64: Drop unnecessary version check in sba_iommu.c.
David Mosberger [Mon, 8 Sep 2003 05:13:23 +0000 (22:13 -0700)]
ia64: Drop unnecessary version check in sba_iommu.c.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 8 Sep 2003 04:56:23 +0000 (21:56 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[SERIAL] Make SA11x0 serial driver build.
Russell King [Mon, 8 Sep 2003 20:28:05 +0000 (21:28 +0100)]
[SERIAL] Make SA11x0 serial driver build.

Update the SA11x0 serial driver for the removal of system devices
from the driver model.  The driver becomes a platform device driver.
The driver is now known to the driver model and resource subsytems
as "sa11x0-uart".

22 years agoia64: Fix things so that they compile with the latest GCC 3.4, which optimize
David Mosberger [Mon, 8 Sep 2003 04:46:50 +0000 (21:46 -0700)]
ia64: Fix things so that they compile with the latest GCC 3.4, which optimize
away static variables with no compiler-visible use.

22 years ago[PATCH] ia64: remove unused sn2 header files
Jes Sorensen [Mon, 8 Sep 2003 04:16:19 +0000 (21:16 -0700)]
[PATCH] ia64: remove unused sn2 header files

This patch eliminates two unused SN2 header files:
include/asm-ia64/sn/klclock.h and include/asm-ia64/sn/ioc3.h.

22 years ago[PATCH] Fix noop elevator request merging
Jens Axboe [Mon, 8 Sep 2003 04:09:12 +0000 (21:09 -0700)]
[PATCH] Fix noop elevator request merging

From: Oleg Drokin <green@namesys.com>

Without this, if elv_try_last_merge() returns nonzero, we do not
initialise *req.  That results in a subsequent BUG_ON() in
__make_request() because req is NULL (or is just uninitialised).

22 years ago[PATCH] sdla non-module build fix.
Stephen Hemminger [Mon, 8 Sep 2003 03:42:56 +0000 (20:42 -0700)]
[PATCH] sdla non-module build fix.

Last round of changes broke sdla build if not a module.

22 years agoArnd's new-and-improved _IOx() argument checking showed two sound
Linus Torvalds [Mon, 8 Sep 2003 02:12:58 +0000 (19:12 -0700)]
Arnd's new-and-improved _IOx() argument checking showed two sound
drivers whose microcode load ioctl's used types with sizes that
overflow the ioctl number. Mark them _IOx_BAD() to document the fact.

22 years ago[PATCH] Verify proper usage of ioctl macros
Arnd Bergmann [Mon, 8 Sep 2003 01:20:02 +0000 (18:20 -0700)]
[PATCH] Verify proper usage of ioctl macros

This new version works with all compiler versions, and also catches the
case where somebody tries to pass in an array as an argument to the
ioctl macros.  Thus we verify that only proper types are used.

I have checked now that the object code for arch/s390/kernel/compat_ioctl.o
remains identical and that the whole kernel compiles for s390 and i386,
after fixing the broken ioctl numbers.

22 years agoFix more ioctl _IOR/_IOW misusage.
Linus Torvalds [Sun, 7 Sep 2003 15:12:49 +0000 (08:12 -0700)]
Fix more ioctl _IOR/_IOW misusage.

22 years ago[PATCH] modprobe -q: quieter when modules missing
Rusty Russell [Sun, 7 Sep 2003 13:46:30 +0000 (06:46 -0700)]
[PATCH] modprobe -q: quieter when modules missing

The kernel invokes "modprobe" on modules which might not exist:
rightfully, modprobe complains by default when this happens.  So the
correct response is to invoke "modprobe -q", which is silent on such
errors (but still reports other errors such as config errors).

Also, use MODULE_NAME_LEN from module.h instead of inventing our own.

22 years ago[PATCH] Modules: Be stricter recognizing init&exit sesections
Rusty Russell [Sun, 7 Sep 2003 13:46:23 +0000 (06:46 -0700)]
[PATCH] Modules: Be stricter recognizing init&exit sesections

Someone pointed out that -ffunction-sections can cause a function called
"init<something>" to be put in the init section, and discarded.  This
hurts PARISC badly.  Get more fussy with identifying them.

22 years ago[PATCH] CONFIG_64BIT
Matthew Wilcox [Sun, 7 Sep 2003 13:43:41 +0000 (06:43 -0700)]
[PATCH] CONFIG_64BIT

This adds CONFIG_64BIT to allow us to disable non-64-bit safe drivers on
64-bit platforms and converts the I2O driver to use it.

22 years ago[PATCH] x86-64 update
Andi Kleen [Sun, 7 Sep 2003 13:41:29 +0000 (06:41 -0700)]
[PATCH] x86-64 update

Nothing too exciting, just some minor new features and bug fixes.
The IOMMU code should now not BUG again without CONFIG_IOMMU_DEBUG/iommu=force

 - Compiles now with -funit-at-a-time
 - Fix up ioctl 32bit tables following Andrew's change.
 - Fix __SI_POLL siginfo_t passing to user space
 - Add 32bit emulation for fadvise64_64
 - Remove unneeded sys32_utimes
 - Various merges with i386 (ACPI, APIC etc.)
 - Port cpuid patching infrastructure from i386
 - Use it to provide better copy_*_user/memcpy/memset/clear/copy_page for
   C stepping K8. String instructions are faster now that unrolled loops.
 - Don't try to merge unforced PCI mappings that don't exceed the device's
   DMA mask.
 - Discard .exit.data/.exit.text at runtime like i386
 - Don't use NTI stores for clear_user
 - Convert bitops.h bitmap functions to use unsigned long * pointers instead
   of void *
 - Fix some warnings in kernel headers.
 - Fix PDA comments

22 years ago[PATCH] arm26 updates
Ian Molton [Sun, 7 Sep 2003 09:53:07 +0000 (02:53 -0700)]
[PATCH] arm26 updates

Not much to write home about. mostly tidying, some debug, and XIP support.

just keeping arm26 up to date really.

22 years agoFix various scripts to be marked executable.
Linus Torvalds [Sun, 7 Sep 2003 08:51:20 +0000 (01:51 -0700)]
Fix various scripts to be marked executable.

From carbonated beverage <ramune@net-ronin.org>.

[ "carbonated beverage"? WTF? I think I need a cool handle too ;]

22 years ago[PATCH] Fixes to allow ARM to build in the standard tree
Russell King [Sun, 7 Sep 2003 08:48:13 +0000 (01:48 -0700)]
[PATCH] Fixes to allow ARM to build in the standard tree

In addition to the MODULE_ALIAS_LDISC patch, the following changes to
generic code are needed to allow ARM to build in Linus' tree.

The first is to add PT_SINGLESTEP to ptrace.h so we do the right thing
when adding/removing breakpoint instructions into processes (see
arch/arm/kernel/{signal.c,ptrace.c} for usage.)

The second is needed because pmd_clear() needs to flush the pmd.
However, we can't include tlbflush.h into pgtable.h without causing
a circular dependency (tlbflush.h needs vm_area_struct and mm_struct
which are in mm.h, which needs pgtable.h.)  swapfile.c seems to be the
only file affected.

22 years ago[PATCH] next fixes
Karsten Keil [Sun, 7 Sep 2003 06:54:07 +0000 (23:54 -0700)]
[PATCH] next fixes

here are the next fixes, sorry for the delay, but one of bugs was a really
odd one.

Note:
- here are lot of bugs left, so ISDN is not stable yet but
  I think it's really time to fix it, even if it need some cycles
  to get it right (normally I'm only send patches if it works 100% for
  me).
- I add some additional #warnings to address places which need fixing
  (I hope that some of the other ISDN developer jump in)

22 years agoMark drivers that can't be built stand-alone in the configuration
Linus Torvalds [Sun, 7 Sep 2003 06:50:54 +0000 (23:50 -0700)]
Mark drivers that can't be built stand-alone in the configuration
files.

22 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Sun, 7 Sep 2003 06:45:13 +0000 (23:45 -0700)]
Merge bk://linux-sam.bkbits.net/kbuild
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoUndo static on ide_probe_for_pdc4030: it can (and will) be called
Linus Torvalds [Sun, 7 Sep 2003 04:54:38 +0000 (21:54 -0700)]
Undo static on ide_probe_for_pdc4030: it can (and will) be called
from the IDE init code when compiled-in.

22 years agoFix over-eager ioctl number fix. _IOC() does want the sizeof().
Linus Torvalds [Sun, 7 Sep 2003 03:42:30 +0000 (20:42 -0700)]
Fix over-eager ioctl number fix. _IOC() does want the sizeof().

22 years agoFix PCMCIA typo (extra 'R') that broke the compile.
Linus Torvalds [Sun, 7 Sep 2003 03:14:46 +0000 (20:14 -0700)]
Fix PCMCIA typo (extra 'R') that broke the compile.

22 years ago[PATCH] use size_t for the broken ioctl numbers
Matthew Wilcox [Sun, 7 Sep 2003 02:43:46 +0000 (19:43 -0700)]
[PATCH] use size_t for the broken ioctl numbers

The ioctl number-generating macros should be used like

#define XXXX _IOR(n,x,type-of-arg)

which generates an ioctl number that has the size of the argument
encoded within it.  But there are a number of ioctl #defines that look
like

#define XXXX _IOR(n,x,sizeof(type-of-arg))

which is very wrong: the _IO/_IOR/_IOW/_IOWR macros will do the sizeof()
on the argtype themselves, so the end result is that we will be doing a
sizeof(sizeof(argtype)), ie a sizeof(size_t).

In other words, the argtype didn't matter at all, and ended up totally
pointless.

Clearly it's too late to change the ioctl definitions, but we can at
least stop people from copying them and making the same mistake.

22 years agokbuild: genksyms, add explicit reference to include dir
Sam Ravnborg [Sat, 6 Sep 2003 23:26:51 +0000 (01:26 +0200)]
kbuild: genksyms, add explicit reference to include dir

genksyms references .h files in the genksyms directory from a
generated .c file. Explicit tell kbuild to search the genksyms
directory in the kernel src tree for .h files.

22 years agokbuild/eisa: Makefile update
Sam Ravnborg [Sat, 6 Sep 2003 23:24:41 +0000 (01:24 +0200)]
kbuild/eisa: Makefile update

- Nice output when generating devlist.h
- Defer DEVICE_NAME_SIZE assignment until needed
No funtional changes

22 years agokbuild/isdn: Defer md5sum calculation until needed
Sam Ravnborg [Sat, 6 Sep 2003 23:13:18 +0000 (01:13 +0200)]
kbuild/isdn: Defer md5sum calculation until needed

Replacing ':=' assignment with '=' assignment defers md5sum calculation until
required. The pevious implementation actually calculated the md5sum during
a make clean

22 years agokbuild/ieee1394: Makefile update
Sam Ravnborg [Sat, 6 Sep 2003 23:10:51 +0000 (01:10 +0200)]
kbuild/ieee1394: Makefile update

Use full path to script in oui.c build rule.
Take advantage of kbuild checking command-line arguments,
by adding FORCE as prerequisite, and by use of targets=

22 years agokbuild: arch/i386/boot*, use kbuild syntax when descending into compressed
Sam Ravnborg [Sat, 6 Sep 2003 23:08:53 +0000 (01:08 +0200)]
kbuild: arch/i386/boot*, use kbuild syntax when descending into compressed

Use proper kbuild syntax when descending into compressed.
The use of $(Q)$(MAKE) $(build)=... is the preferred method

22 years agokbuild: Do not duplicate A/CFLAGS
Sam Ravnborg [Sat, 6 Sep 2003 23:04:12 +0000 (01:04 +0200)]
kbuild: Do not duplicate A/CFLAGS

This solves 1193 in bugme as reported by ak@suse.de
AFLAGS and CFLAGS contained duplicate entries, both generic and
architecture specific flags

22 years ago[PATCH] more keyboard stuff
Andries E. Brouwer [Sat, 6 Sep 2003 07:38:43 +0000 (00:38 -0700)]
[PATCH] more keyboard stuff

I looked a bit more at the keyboard code and find a bug
and a probable bug.

(i) In case a synaptics touchpad has been detected, the comment says
    "disable AUX".  But we do not set the disable bit, but instead .and.
    with the bit - no doubt getting zero.  This must be a bug.

(ii) Directly above this is the suspicious comment "keyboard translation
     seems to be always off".  But every machine comes always up in
     translated scancode 2.  Translation is never off.  But wait! by
     mistake the above .and.  cleared the XLATE bit.

So, I think bug (i) explains mystery (ii).

However, note that this is code reading only.  I do not have the
hardware, so cannot test.

22 years ago[PATCH] jffs2: add linux/version.h as needed
Randy Dunlap [Sat, 6 Sep 2003 07:37:21 +0000 (00:37 -0700)]
[PATCH] jffs2: add linux/version.h as needed

include linux/version.h in files that use its defines;

22 years ago[PATCH] rename make check* targets, add versioncheck
Randy Dunlap [Sat, 6 Sep 2003 07:37:13 +0000 (00:37 -0700)]
[PATCH] rename make check* targets, add versioncheck

rename make check* targets to make *check (per Sam) since 'make
checkconfig' currently doesn't work; add versioncheck and
scripts/checkversion.pl;

22 years ago[PATCH] janitor: x86_64/sys_ia32
Randy Dunlap [Sat, 6 Sep 2003 07:37:05 +0000 (00:37 -0700)]
[PATCH] janitor: x86_64/sys_ia32

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

22 years ago[PATCH] janitor: qla1280 pci alloc/free consistent checking
Randy Dunlap [Sat, 6 Sep 2003 07:36:57 +0000 (00:36 -0700)]
[PATCH] janitor: qla1280 pci alloc/free consistent checking

Ports previous qla1280.c patch to 2.6.0-test2.  Fixes incorrect if
statement.  Inserts pci_free_consistent on error.

From: Leann Ogasawara <ogasawara@osdl.org>

22 years ago[PATCH] janitor: paride: better return codes
Randy Dunlap [Sat, 6 Sep 2003 07:36:49 +0000 (00:36 -0700)]
[PATCH] janitor: paride: better return codes

From: Domen Puncer <domen@coderock.org>

22 years ago[PATCH] janitor: oss/forte copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:36:40 +0000 (00:36 -0700)]
[PATCH] janitor: oss/forte copy*user fixes

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

22 years ago[PATCH] janitor: more init/exit cleanups
Randy Dunlap [Sat, 6 Sep 2003 07:36:32 +0000 (00:36 -0700)]
[PATCH] janitor: more init/exit cleanups

From: Domen Puncer <domen@coderock.org>
and Randy Dunlap

Release (in fact all) functions shouldn't be __init or __exit, if they
are called from __init and __exit functions.

22 years ago[PATCH] janitor: fix copy*user in tc/zs
Randy Dunlap [Sat, 6 Sep 2003 07:36:23 +0000 (00:36 -0700)]
[PATCH] janitor: fix copy*user in tc/zs

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

22 years ago[PATCH] janitor: oss/au1000 copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:36:15 +0000 (00:36 -0700)]
[PATCH] janitor: oss/au1000 copy*user fixes

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

22 years ago[PATCH] janitor: coda delete version.h
Randy Dunlap [Sat, 6 Sep 2003 07:36:07 +0000 (00:36 -0700)]
[PATCH] janitor: coda delete version.h

Test compiled on x86.

From: Randy Hron <rwhron@earthlink.net

22 years ago[PATCH] janitor: saa7134 pci alloc/free consistent checking
Randy Dunlap [Sat, 6 Sep 2003 07:35:58 +0000 (00:35 -0700)]
[PATCH] janitor: saa7134 pci alloc/free consistent checking

From: Leann Ogasawara <ogasawara@osdl.org>

Patch to insert ioremap() error checking and missing iounmap()'s.  Also
updated error handling to have only one return statement on error.
Finally, in saa7134_finidev() on line 954 there was a duplicate
saa7134_i2c_unregister().

22 years ago[PATCH] janitor: fix oss/swarm copy*user
Randy Dunlap [Sat, 6 Sep 2003 07:35:50 +0000 (00:35 -0700)]
[PATCH] janitor: fix oss/swarm copy*user

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

22 years ago[PATCH] janitor: fix blk_init_queue() comments
Randy Dunlap [Sat, 6 Sep 2003 07:35:43 +0000 (00:35 -0700)]
[PATCH] janitor: fix blk_init_queue() comments

blk_init_queue() has changed (it now returns queue), but the
comments were the same.

Also fixed a comment in blk_queue_end_tag.

From: Domen Puncer <domen@coderock.org>

22 years ago[PATCH] janitor: fix input serport register failure
Randy Dunlap [Sat, 6 Sep 2003 07:35:34 +0000 (00:35 -0700)]
[PATCH] janitor: fix input serport register failure

From: Daniele Bellucci <bellucda@tiscali.it>

22 years ago[PATCH] janitor: cdrom module owner
Randy Dunlap [Sat, 6 Sep 2003 07:35:26 +0000 (00:35 -0700)]
[PATCH] janitor: cdrom module owner

From: Daniele <bellucda@tiscali.it>

OK-ed by Jens.

22 years ago[PATCH] janitor: fix oss/harmony copy*user
Randy Dunlap [Sat, 6 Sep 2003 07:35:17 +0000 (00:35 -0700)]
[PATCH] janitor: fix oss/harmony copy*user

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

22 years ago[PATCH] janitor: adfs: add/remove version.h
Randy Dunlap [Sat, 6 Sep 2003 07:35:09 +0000 (00:35 -0700)]
[PATCH] janitor: adfs: add/remove version.h

From: Randy Hron <rwhron@earthlink.net>

Put version.h in the file that needs it.
Remove version.h where it isn't needed.
Tested as module/non-module on x86.

22 years ago[PATCH] janitor: jffs2 add/delete version.h
Randy Dunlap [Sat, 6 Sep 2003 07:35:02 +0000 (00:35 -0700)]
[PATCH] janitor: jffs2 add/delete version.h

From: Randy Hron <rwhron@earthlink.net>

22 years ago[PATCH] janitor: remove __SMP__
Randy Dunlap [Sat, 6 Sep 2003 07:34:53 +0000 (00:34 -0700)]
[PATCH] janitor: remove __SMP__

Three small 1-line patches to get rid of any remaining __SMP__
references in the 2.6 kernel.

From: Ron Gage  <ron@rongage.org>

22 years ago[PATCH] janitor: skfddi copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:44 +0000 (00:34 -0700)]
[PATCH] janitor: skfddi copy*user fixes

From: Daniele Bellucci <bellucda@tiscali.it>

This patch audits some copy_from/to_user in the SysKonnect FDDI device
driver.

22 years ago[PATCH] janitor: oss/ite8172 copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:36 +0000 (00:34 -0700)]
[PATCH] janitor: oss/ite8172 copy*user fixes

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

22 years ago[PATCH] janitor: oss/ali copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:27 +0000 (00:34 -0700)]
[PATCH] janitor: oss/ali copy*user fixes

From: Daniele Bellucci <bellucda@tiscali.it>

22 years ago[PATCH] janitor: sc520_wdt
Randy Dunlap [Sat, 6 Sep 2003 07:34:19 +0000 (00:34 -0700)]
[PATCH] janitor: sc520_wdt

Insert ioremap error check and adjust cleanup path accordingly.

From: Leann Ogasawara <ogasawara@osdl.org>

22 years ago[PATCH] janitor: add static to comx
Randy Dunlap [Sat, 6 Sep 2003 07:34:10 +0000 (00:34 -0700)]
[PATCH] janitor: add static to comx

From: Daniele Bellucci <bellucda@tiscali.it>

add 'static' to a function

22 years ago[PATCH] janitor: remove unneeded version.h #includes
Randy Dunlap [Sat, 6 Sep 2003 07:34:01 +0000 (00:34 -0700)]
[PATCH] janitor: remove unneeded version.h #includes

From: Randy Hron <rwhron@earthlink.net>

remove unneeded linux/version.h usage & some duplicate
#includes;

22 years ago[PATCH] dmasound kill MOD_{IN,DE}C_USE_COUNT
Geert Uytterhoeven [Sat, 6 Sep 2003 07:30:18 +0000 (00:30 -0700)]
[PATCH] dmasound kill MOD_{IN,DE}C_USE_COUNT

Dmasound: Use try_module_get()/module_put() instead of methods calling
MOD_{IN,DE}C_USE_COUNT (from Christoph Hellwig)

22 years ago[PATCH] dmasound core fixes
Geert Uytterhoeven [Sat, 6 Sep 2003 07:30:09 +0000 (00:30 -0700)]
[PATCH] dmasound core fixes

Dmasound core fixes from Christoph Hellwig:
  - Some exported symbols are declared __init - in the modular case this is
    freed before the other modules can call it..
  - dmasound.lock is initialized too late, do it at compile time

22 years ago[PATCH] Futex-fd error return fix
Rusty Russell [Sat, 6 Sep 2003 07:22:21 +0000 (00:22 -0700)]
[PATCH] Futex-fd error return fix

Hugh Dickins caught this confusion between the ret variable in outer
scope (holding the fd) and the return value of f_setown.  Rename inner
"ret".

22 years agoMerge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
Linus Torvalds [Sat, 6 Sep 2003 07:21:09 +0000 (00:21 -0700)]
Merge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[WATCHDOG] Documentation
Wim Van Sebroeck [Sat, 6 Sep 2003 14:43:57 +0000 (16:43 +0200)]
[WATCHDOG] Documentation

move all watchdog documentation into Documentation/watchdog/

22 years agoMerge bk://kernel.bkbits.net/jgarzik/irda-2.5
Linus Torvalds [Sat, 6 Sep 2003 07:18:48 +0000 (00:18 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/irda-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
Linus Torvalds [Sat, 6 Sep 2003 07:17:24 +0000 (00:17 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] Fix futex hashing bugs
Hugh Dickins [Sat, 6 Sep 2003 05:28:20 +0000 (22:28 -0700)]
[PATCH] Fix futex hashing bugs

This fixes two buts that the glibc NPTL verification tests found, one
new and one old.

The new bug is that "offset" has been declared as an alternative in
the union, instead of as an element in the structures comprising it,
effectively eliminating it from the key: keys match which should not.

The old bug is that if futex_requeue were called with identical
key1 and key2 (sensible? tended to happen given the first bug),
it was liable to loop for a long time holding futex_lock: guard
against that, still respecting the semantics of futex_requeue.

While here, please let's also fix the get_futex_key VM_NONLINEAR
case, which was returning the 1 from get_user_pages, taken as an
error by its callers.  And save a few bytes and improve debuggability
by uninlining the top-level futex_wake, futex_requeue, futex_wait.

22 years ago[PATCH] ide: fix imbalance preempt count with taskfile PIO
Bartlomiej Zolnierkiewicz [Sat, 6 Sep 2003 05:28:13 +0000 (22:28 -0700)]
[PATCH] ide: fix imbalance preempt count with taskfile PIO

Noticed by Tejun Huh <tejun@aratech.co.kr>.

22 years ago[PCMCIA] Fix race condition causing cards to be incorrectly recognised
Russell King [Sat, 6 Sep 2003 20:08:46 +0000 (21:08 +0100)]
[PCMCIA] Fix race condition causing cards to be incorrectly recognised

This patch fixes a race condition between the pcmcia socket initial
insert processing, ds.c and cardmgr.  This allowed cardmgr to believe
that a card was inserted while the card is still in the process of
resetting itself, and it therefore tried to read the CIS while it
was unavailable.

We change the meaning of SOCKET_PRESENT slightly - it now means that
a card is present _and we have completed its initialisation_.  We
introduce SOCKET_INUSE to indicate that we have a reference count
against the module.

We also take the skt_sem to prevent clients from registering while
we're handling an insert/remove/suspend/resume.

22 years ago[PCMCIA] Use "yenta" instead of pci_name() when allocating irq.
Russell King [Sat, 6 Sep 2003 19:08:13 +0000 (20:08 +0100)]
[PCMCIA] Use "yenta" instead of pci_name() when allocating irq.

22 years ago[PCMCIA] Fix cs.c debugging.
Russell King [Sat, 6 Sep 2003 18:24:01 +0000 (19:24 +0100)]
[PCMCIA] Fix cs.c debugging.

socket references are pointers, not integers.

22 years ago[irda] Dongle module aliases
Jean Tourrilhes [Fri, 5 Sep 2003 17:09:09 +0000 (13:09 -0400)]
[irda] Dongle module aliases

<Patch from Rusty Russell>
o [FEATURE] Add module aliases to dongle drivers

22 years ago[irda] init failure cleanups
Jean Tourrilhes [Fri, 5 Sep 2003 17:09:03 +0000 (13:09 -0400)]
[irda] init failure cleanups

<Patch from Guennadi Liakhovetski>
o [FEATURE] Don't leak stuff in various failure paths
o [FEATURE] Properly initialise self->max_header_size in IrIAP

22 years ago[irda] connect watchdog fixes
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:56 +0000 (13:08 -0400)]
[irda] connect watchdog fixes

o [CRITICA] In case of connect watchdog, drop reference to the LAP
o [CORRECT] Prevent dumping LSAP after connect watchdog
o [CRITICA] Prevent dumping TSAP if dumping LSAP did fail
o [CORRECT] Only set connected bit on response if LSAP state is correct