1. 22 May, 2002 34 commits
    • Rusty Russell's avatar
      [PATCH] sigio delivery fix · c1140e63
      Rusty Russell authored
      Stephen Rothwell <sfr@canb.auug.org.au>: fix for sigio delivery:
        Hi Linus,
      
        This patch means that we keep the upper 16 bits of the si_code
        field of the siginfo structure that is delivered with and SIGIOs.
        We need this so that the code that actually copies the siginfo_t
        out to user mode knows which part of the union to copy.  We currently
        get away with out this information because we always copy at least
        two ints worth of the union, but this s an ugly hack and I would
        like to tidy it up.
      
        Comments?
      c1140e63
    • Rusty Russell's avatar
      [PATCH] min/max elimination in netfilter.h · 190cd5e5
      Rusty Russell authored
      Rusty Russell <rusty@rustcorp.com.au>: Trivial patch to remove minmax macros:
        Hi Harald,
        	The MIN & MAX etc. macros aren't used anywhere, and kernel.h
        has the new min & max anyway, which should be used.
      
        Cheers,
        Rusty.
      190cd5e5
    • Rusty Russell's avatar
      [PATCH] MIPS min/max replacement II · aa2364b8
      Rusty Russell authored
      (Once again, Ralf said straight to you).
      
      Rusty Russell <rusty@rustcorp.com.au>: Trivial MIPS gt64120-pci patch to remove minmax macros:
        Also changes over to standard ALIGN macro:
      aa2364b8
    • Rusty Russell's avatar
      [PATCH] MIPS min/max replacement · f6581020
      Rusty Russell authored
      (Ralf said to send this straight to you)
      
      Rusty Russell <rusty@rustcorp.com.au>: Trivial MIPS baget patch to remove minmax macros:
        In favour of kernel.h one:
      f6581020
    • Rusty Russell's avatar
      [PATCH] DMA-mapping.txt typo fix · 80b8ce43
      Rusty Russell authored
      Roger Luethi <rl@hellgate.ch>: DMA-mapping.txt: sg_dma_length() -> sg_dma_len():
      80b8ce43
    • Rusty Russell's avatar
      [PATCH] Fix order of #includes in init_version.c · 435cb0af
      Rusty Russell authored
      [UTS_MACHINE is now defined in the (generated) compile.h]
      
      David Gibson <david@gibson.dropbear.id.au>: [TRIVIAL PATCH] Fix order of #includes in init_version.c:
        Linus, please apply.  compile.h must be #included before uts.h, or
        uts.h will define UTS_MACHINE (incorrectly) which is then redefined in
        compile.h.
      435cb0af
    • Rusty Russell's avatar
      [PATCH] Remove warning in fs/nfs/nfsroot.c · e3b54695
      Rusty Russell authored
      David Gibson <david@gibson.dropbear.id.au>: TRIVIAL: Remove warning in fs_nfs_nfsroot.c:
        Linus, please apply.  The patch below removes a warning in
        fs/nfs/nfsroot.c by including a header file providing a prototype for
        in_aton().
      e3b54695
    • Rusty Russell's avatar
      [PATCH] printk() cleanup in ide-pnp.c · f1effee1
      Rusty Russell authored
      Andrey Panin <pazke@orbita1.ru>: printk() cleanup in ide-pnp.c:
        Attached patch adds a few missing printk levels in ide-pnp.c file.
      f1effee1
    • Rusty Russell's avatar
      [PATCH] drivers_net_sundance.c: missing __devinit · c2951331
      Rusty Russell authored
      Andrey Panin <pazke@orbita1.ru>: drivers_net_sundance.c: missing __devinit:
        this patch adds missing __devinit modifier to sundance.c network driver.
        Patch against 2.5.15. Compiles, but untested.
      c2951331
    • Rusty Russell's avatar
      [PATCH] declance.c · d74cc526
      Rusty Russell authored
      "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>: [patch] 2.4.19-pre7: A few declance multicast updates:
        Hello,
      
         It seems all Ethernet device drivers were bulk-converted to use the new
        common CRC functions.  I discovered declance used incorrect endianness to
        calculate the sum for its multicast filter and had a few alignment
        problems there.  I fixed these bugs in the MIPS/Linux CVS tree which is at
        2.4.18 now.  Here is the respective update for the official kernel.
      
         The bugs make the filter non-functional.  Please apply.
      
          Maciej
      d74cc526
    • Rusty Russell's avatar
      [PATCH] drivers/net/epic100.c: missing __devinit · 38163886
      Rusty Russell authored
      Andrey Panin <pazke@orbita1.ru>: drivers_net_epic100.c: missing __devinit:
        This patch adds missing __devinit modifier for read_eeprom() function.
        Patch against 2.5.9. Compiles, but untested.
      38163886
    • Alexander Viro's avatar
      [PATCH] (3/4) BKL removal from d_move() · ef2dc37c
      Alexander Viro authored
      	nfsd_acceptable() calls permission() on a a dentry that is
      not guaranteed to stay around (its child is pinned down, but there
      is no promises that child won't move and nothing pins dentry itself).
      Fixed, cleaned up.
      ef2dc37c
    • Linus Torvalds's avatar
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · cc00cee0
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      cc00cee0
    • Kai Germaschewski's avatar
      Merge linux-isdn@linux-isdn.bkbits.net:linux-2.5.make · 3198f1d1
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-built-in
      3198f1d1
    • Kai Germaschewski's avatar
      drivers/net: Simplify linking of subdirs · 66b8dbf4
      Kai Germaschewski authored
      Use the just introduced Rules.make extension to clean up 
      drivers/net/*/Makefile.
      66b8dbf4
    • Kai Germaschewski's avatar
      Simplify linking/building objects in subdirectories · aa2ac864
      Kai Germaschewski authored
      New-style Makefiles have a nice way of declaring objects
      which need to be built either built-in or as modules:
      
              obj-$(CONFIG_EEPRO100) += eepro100.o
      
      However, handling objects in subdirectories, which need to be
      built and linked is not as nice:
      
              subdir-$(CONFIG_E100) += e100
      
              ifeq ($(CONFIG_E100),y)
                obj-y += e100/built-in.o
              endif
      
      This means we descend into the subdirectory when building
      vmlinux / modules, depending on CONFIG_XXX. When we are building
      vmlinux we also need to link whatever has been built in the
      subdirectory, so we add it to $(obj-y) at the appropriate place
      (link order is important).
      
      Now, the extension below allows to rewrite the second case into
      
               obj-$(CONFIG_E100) += e100/
      
      which looks much nicer ;-) Existing behavior is not changed, and the
      only prerequisite to using the extension above is that the O_TARGET in
      the subdir is named "built-in.o".
      aa2ac864
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · fcd35893
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      fcd35893
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/sparc-2.5 · fc4ace40
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      fc4ace40
    • Christoph Hellwig's avatar
      [PATCH] split namei.h out of fs.h · 26d7de18
      Christoph Hellwig authored
      Currently fs.h is full of unrelated declarations and included in almost
      any source file. Thus it makes sense to spilt certain aspects out that are
      only used by few users.
      
      This patch starts with the namei/path lookup interface and splits it into
      <linux/namei.h> which is now directly included by the 24 files that actually
      need it.
      26d7de18
    • Martin Dalecki's avatar
      [PATCH] 2.5.17 dquota punishment · 17eb4a37
      Martin Dalecki authored
      Transform new quota code to use sysctl instead of /proc/fs.
      17eb4a37
    • Alexander Viro's avatar
      [PATCH] (2/4) d_move() BKL removal · ace2dc79
      Alexander Viro authored
      	default encode_fh() doesn't take dparent_lock around messing
      with dereferences of ->d_parent->d_inode->i_....  Fixed.
      ace2dc79
    • Alexander Viro's avatar
      [PATCH] (1/4) removal of BKL from d_move() · 6524fa5c
      Alexander Viro authored
      	OK, it turned out that since the last time I've done that audit
      a couple new users of d_parent had appeared.  First, more crapectomy (strictly
      speaking not necessary, but just look at that code - where the hell does IBM
      find them?)
      6524fa5c
    • Martin Dalecki's avatar
      [PATCH] 2.5.17 IDE 69 · 80d461c8
      Martin Dalecki authored
       - Apply small host chip driver cosmetics by Andrej xxx Panin
         and Vojtech Pavlik.
      
       - Remove support for "disc recovery time". It could only supposedly
         help with really simplistic broken devices from the past,
         which didn't have moderately sophisticated controllers.
         And finally Vojtech voted for it as well... so I just trust him.
      
       - Apply icside host chip driver and other ARM related updates by Russell King,
         which finally settle the "portability" work a bit, well hopefully.
      80d461c8
    • Martin Dalecki's avatar
      [PATCH] 2.5.16 IDE 68 · c7c39840
      Martin Dalecki authored
       - Make the different ATAPI device type drivers use a unified packet command
         structure. We have to start to push them together.
      
      This patch is rather trivial in itself, but the plentora of code duplication it
      is trying to fight against is making it unfortunately rather big...
      c7c39840
    • Martin Dalecki's avatar
      [PATCH] 2.5.17 IDE 67 · 14cfb6a6
      Martin Dalecki authored
       - Nuke COMMERIAL and similar spurious configuration options...
         The fact that every single default configuration option contained
         those bits makes this trivial patch appear rather big.
      14cfb6a6
    • Martin Dalecki's avatar
      [PATCH] 2.5.17 IDE 66 · 6b4fef7a
      Martin Dalecki authored
       - Move ll_10byte_cmd_build to the only place where it's used: ide-cd.  The SCSI
         layer does have it's own implementation which additionally it's messing
         around with the hard_nr_sectors struct request value.  One should *not*
         provide "infrastructure" until its really used as such.
      
         If anywhere this should reside in a file called ATAPI.
      
       - Unfold the INIT_REQUEST macro from blk.h. This showed up plenty of duplicate
         checks for QUEUE_EMPTY. Clean them as well. Remove the over cautious
         major(CURRENT->rq_dev != MAJOR_NR) checks. During the last several years I
         never saw any report about it. Looking at the !CURRENT->bio it is clear that
         dereferencing NULL will provide the same kind of panic as the check.  Some
         comments around the code in question show nicely that indeed INIT_REQUEST
         was a good example of code obfuscation.
      
       - A short look at RQ_INACTIVE shows that it is only used inside the scsi.c file
         and during the removal of devices. This shows that the many checks for
         RQ_INACTIVE are not necessary. Looking closer even shows that some of them
         did happen before checks for an empty queue. Plenty of drivers didn't care
         about it and the CD-ROM ones should be handled properly, because the
         most common drivers would fail as well. Comments indicate that this
         was an leftover from 1.3 days...
      6b4fef7a
    • Martin Dalecki's avatar
      [PATCH] 2.5.17 IDE 65 · 69479390
      Martin Dalecki authored
       - Apply cleanup of host chip drivers by Bartomiej Zonierkiewicz:
      
           affected drivers - aec62xx.c, alim15x3.c, cmd64x.c, hpt34x.c, sis5513.c
      
           new tuning scheme (wip) part 1:
      	- introduce ratemask()
      	- use ata_timing_mode()
      	- use ide_config_drive_speed() return value
      
           forward port from convert.10:
      	- support for AEC6280, AEC6280R
      	- misc cleanups
      
           I had to fix a small typo in sis5513 code...
      
       - Add a new entry for an old VIA cell hiding as something new.
         (Pointed out by Kees Bakker.)
      
       - Make the synchronization token active resident on the same level as the
         spin lock. They interact with each other.
      
       - Synchronize with linux-2.5.17.
      
       - HPT366 driver typo fix by Andries Brouwer.
      
       - Export udma_tcq_enable() symbol right now. The blk_get_request() is undefined
         as well.
      69479390
    • Alexander Viro's avatar
      [PATCH] rd.c blocksize handling · d8479cd9
      Alexander Viro authored
      	Unlike other drivers, rd.c wants block size to be set once an
      forever (for everybody else setting block size as high as possible and
      letting filesystems change it with set_blocksize() is OK; rd.c treats
      invalidate_buffers() as "kill the ramdisk contents".
      d8479cd9
    • Alexander Viro's avatar
      [PATCH] new helpers for /proc · ec3a47e7
      Alexander Viro authored
      new helpers for seq_file - for cases where we don't have a non-trivial
      iterator and just want to use seq_{printf,putc,...}.
      ec3a47e7
    • Alexander Viro's avatar
      [PATCH] clean up readdir() for in-memory · c6e6354f
      Alexander Viro authored
      sane readdir() for ramfs-style filesystems
      c6e6354f
    • Alexander Viro's avatar
      [PATCH] kill ->i_op->revalidate() · cc41b90f
      Alexander Viro authored
      kill ->i_op->revalidate()
      cc41b90f
    • Alexander Viro's avatar
      [PATCH] remove s390 procfs abuses · e3b08ca8
      Alexander Viro authored
      massive crapectomy in s390 code - removed procfs abuses
      e3b08ca8
    • Alexander Viro's avatar
      [PATCH] add proper ->getattr() · 1d13173b
      Alexander Viro authored
       add proper ->getattr(), clean up do_getattr() and friends.
      1d13173b
  2. 21 May, 2002 6 commits