1. 13 Jan, 2003 40 commits
    • Rusty Russell's avatar
      [PATCH] namespace pollution in procfs · 586a989d
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        de_get and de_put are used only in the file they are
        defined in, so make them static
      586a989d
    • Rusty Russell's avatar
      [PATCH] namespace pollution in opti92x driver · 4a7d834b
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        The opti92x driver has global variables named 'rates' and 'bits'
        that pollute the namespace. This makes them static.
      4a7d834b
    • Rusty Russell's avatar
      [PATCH] namespace pollution in tr.c · 9825e033
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        The variable rif_table should be neither global nor initialized to 0.
      9825e033
    • Rusty Russell's avatar
      [PATCH] namespace pollution in irda qos · eb3484f7
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        net/irda/qos.c exports some variables that are not used
        in any other file. This makes them static to avoid
        namespace conflicts
      eb3484f7
    • Rusty Russell's avatar
      [PATCH] Remove compile warning from drivers_ide_pci_generic.h · 73b60eb4
      Rusty Russell authored
      From:  Bob Miller <rem@osdl.org>
      
        Added and #if/#endif pair to "remove" the un-used unknown_chipset declaration.
      
        Comments in generic.c indicate that unknow_chipset this will be used again
        in the future.
      73b60eb4
    • Rusty Russell's avatar
      [PATCH] namespace pollution in netfilter_ebt_log · 2b72c1ec
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        A global variable should not be called 'log', this makes it static
      2b72c1ec
    • Rusty Russell's avatar
      [PATCH] namespace pollution in ide-probe.c · 12668442
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        The function init_irq is only used in ide-probe.c, so it should
        better be static.
      12668442
    • Rusty Russell's avatar
      [PATCH] namespace pollution in reiserfs · e1b49af5
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        balloc[] and tails[] are used only in the file they are defined
        in, so they should be made static
      e1b49af5
    • Rusty Russell's avatar
      [PATCH] namespace pollution in sunrpc · a9ca6444
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        The strdup function in sunrpc should not be global
      a9ca6444
    • Rusty Russell's avatar
      [PATCH] namespace pollution in cosa driver · 63ac4304
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        Variables named 'io' and 'dma' should not be global
      63ac4304
    • Rusty Russell's avatar
      [PATCH] namespace pollution in 'backpack' paride · 989298c3
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        A global variable should not be called 'verbose'. It can
        be made static since it is only used in one file.
      989298c3
    • Rusty Russell's avatar
      [PATCH] Remove compile warning from drivers_ide_pci_sc1200.c · 80844aa6
      Rusty Russell authored
      From:  Bob Miller <rem@osdl.org>
      
        Deleted an unused stack variable from sc1200_suspend.
      80844aa6
    • Rusty Russell's avatar
      [PATCH] Correct kmalloc check: drivers_scsi_dpt_i2o.c · bbc6b732
      Rusty Russell authored
      From:  Pablo Menichini <pablo@menichini.com.ar>
      bbc6b732
    • Rusty Russell's avatar
      [PATCH] Janitoring drivers_acorn_scsi_fas216.c · 59265656
      Rusty Russell authored
      From:  Pablo Menichini <pablo@menichini.com.ar>
      59265656
    • Rusty Russell's avatar
      [PATCH] remove check_region from drivers_scsi_cpqfcTSinit.c · bdf27737
      Rusty Russell authored
      From:  william stinson <wstinson@wanadoo.fr>
      
        this proposed patch for drivers/scsi/cpqfcTSinit.c scsi driver for
        Linux removes two calls to check_region using request_region instead
      
        This is patch number 28 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      bdf27737
    • Rusty Russell's avatar
      [PATCH] driver_char_Kconfig bug (fwd) · b65a6d5d
      Rusty Russell authored
      From: Rusty Lynch <rusty@stinkycat.com>
      
        VT support requires drivers/char/keyboard.c which makes function
        calls implemented in drivers/input/, so that attempting to set
        CONFIG_INPUT=m or just not setting CONFIG_INPUT will result in a
        compile error if CONFIG_VT is on.
      b65a6d5d
    • Rusty Russell's avatar
      [PATCH] remove check_region from drivers_ide_legacy_umc8672.c · 764a27db
      Rusty Russell authored
      From:  william stinson <wstinson@wanadoo.fr>
      
        this patch for drivers/ide/legacy/umc8672.c ide driver for Linux
        removes one call to check_region using request_region instead
      
        I don't have this hardware so patch is not tested.  This patch removes
        all references to check_region in this driver.
      
        This is patch number 31 in a series of check_region patches I am doing as
         part of the kernel janitors project.
      764a27db
    • Rusty Russell's avatar
      [PATCH] namespace pollution in OSS_pas2 driver · ca7f949f
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        The pas2 driver has a global variable named 'lock', which
        pollutes the global namespace. This patch adds a pas_
        prefix. The same is done for 'translate_code'.
      ca7f949f
    • Rusty Russell's avatar
      [PATCH] namespace pollution in Dell SMM driver · d7cb1bd8
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        The i8k driver has global variables named 'force' and 'power_status'
        that pollute the name space. This makes them static.
      d7cb1bd8
    • Rusty Russell's avatar
      [PATCH] duplicate extern char _stext · 42ac165d
      Rusty Russell authored
      From:  Geert Uytterhoeven <geert@linux-m68k.org>
      
        Kill duplicate extern char _stext (already declared globally 14 lines before)
      42ac165d
    • Rusty Russell's avatar
      [PATCH] cli_sti in drivers_net_hamradio_bpqether.c · f794d623
      Rusty Russell authored
      From:  Chris Wilson <chris@qwirx.com>
      
        As part of the Linux Kernel Janitors project, I would like to submit my
        patch for bpqether.c.
      
        The document Documentation/cli-sti-removal.txt says that cli() should no
        longer be used to disable interrupts. This patch removes all references to
        cli() and {save,restore}_flags.
      
        - added a static spinlock to protect bpq_devices
        - changed cli/sti and {save,restore}_flags to taking the spinlock and
          disabling interrupts with spin_lock_irqsave
        - included my previous patch for proc_net_create, but as a separate hunk,
          so if you've already applied then just ignore the rejected hunk.
      
        I have verified that the patched driver compiles without warnings, but
        since I don't have the hardware I can't test it. Please treat with
        caution.
      f794d623
    • Rusty Russell's avatar
      [PATCH] remove check_region from drivers_atm_ambassador.c · a48fa850
      Rusty Russell authored
      From:  william stinson <wstinson@wanadoo.fr>
      
        this proposed patch for drivers/atm/ambassador.c atm driver for Linux
        removes one call to check_region using request_region instead
      
        I don't have this hardware so patch is not tested.  This patch removes
        all references to check_region in this driver.
      
        This is patch number 30 in a series of check_region patches I am doing as
         part of the kernel janitors project.
      a48fa850
    • Rusty Russell's avatar
      [PATCH] Remove compile warning from drivers_ide_pci_cs5520.c · 393e70b3
      Rusty Russell authored
      From:  Bob Miller <rem@osdl.org>
      
        The function, cs5520_tune_chipset() is declared to return an int.
        Added a return statement instead of just falling of off the bottom.
      393e70b3
    • Rusty Russell's avatar
      [PATCH] namespace pollution in HDLC driver · 53da798e
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        A global variable should not be called 'debuglevel'. It can
        be made static since it is only used in one file.
      53da798e
    • Rusty Russell's avatar
      [PATCH] namespace pollution in eth bridge driver · 2e0c89f9
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        A global variable should not be called 'ioctl_mutex',
        this makes it static.
      2e0c89f9
    • Rusty Russell's avatar
      [PATCH] Module state and address in /proc/modules. · e7a27380
      Rusty Russell authored
      The address allows oprofile and ksymoops to work again.  The state is
      simply informative.
      e7a27380
    • Rusty Russell's avatar
      [PATCH] move snd_legacy_find_free_ioport to opti92x-ad1848.c · ecbd4110
      Rusty Russell authored
      From:  Marcus Alanen <maalanen@ra.abo.fi>
      
        Moves the snd_legacy_find_free_ioport definition to opti92x-ad1848.c,
        since it is the only user.
      ecbd4110
    • Rusty Russell's avatar
      [PATCH] namespace pollution in skfddi driver · 58002c29
      Rusty Russell authored
      From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>
      
        The skfp driver has a global function named 'set_int'. This makes
        it static to avoid namespace pollution.
      58002c29
    • Linus Torvalds's avatar
      Merge http://linux-scsi.bkbits.net/scsi-for-linus-2.5 · f058d51c
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      f058d51c
    • James Bottomley's avatar
      Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5 · 1b4c4bcb
      James Bottomley authored
      into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5
      1b4c4bcb
    • Andries E. Brouwer's avatar
      [PATCH] sd.c · 52f97cf3
      Andries E. Brouwer authored
      The below does two things:
      (i) do not try to spin up a CF reader without media
      (ii) be careful when asking for the cache parameters mode page
      
      [do not ask for this page when no media are present:
      it is meaningless, and some devices react badly if we do;
      check the reply so that we do not read past the end of the reply;
      first give a small transport length - some USB devices are unhappy
      if we ask for more than they provide]
      
      Andries
      52f97cf3
    • John Stultz's avatar
      [PATCH] linux-2.5.57_delay-cleanup_A1.patch · 8c777fd8
      John Stultz authored
      This cleans up the delay code by moving the timer-specific
      implementations into the timer_ops struct.  Thus, rather then doing:
      
      	if(x86_delay_tsc)
      		__rdtsc_delay(loops);
      	else if(x86_delay_cyclone)
      		__cyclone_delay(loops);
      	else if(whatever....
      
      we just simply do:
      
      	timer->delay(loops);
      
      Making it much easier to accommodate alternate time sources.
      8c777fd8
    • John Stultz's avatar
      [PATCH] linux-2.5.57_timer-none_A0.patch · cab1826e
      John Stultz authored
      This creates an empty timer_opt structure (timer_none) which is then
      used as a default initializer to the timer pointer.  This lets us avoid
      having to check before dereferencing the timer in future code.
      cab1826e
    • Russell King's avatar
      [PATCH] use <asm/bug.h> for BUG() defines · 9e535055
      Russell King authored
      This patch moves BUG() and PAGE_BUG() from asm/page.h into asm/bug.h.
      
      We also fix up linux/dcache.h, which included asm/page.h for the sole
      purpose of getting the BUG() definition.
      
      Since linux/kernel.h and linux/smp.h make use of BUG(), asm/bug.h is
      included there as well.
      
      In addition, linux/jbd.h did not contain a clear path with which to
      obtain the archtecture BUG() definition, but did contain its own
      definition.
      9e535055
    • Tom Rini's avatar
      [PATCH] Don't ask about "Enhanced Real Time Clock Support" on some archs · fb5805fb
      Tom Rini authored
      The following patch adds an explicit no list of arches who do not want
      to have the "Enhanced Real Time Clock Support" RTC driver asked.  This
      adds PPC32 (who for a long time had their own 'generic' RTC driver, and
      then have adopted the genrtc driver) and PARISC (who have always used
      the genrtc driver).  Per request of Peter Chubb, IA64 is on this list as
      well.
      
      The problem is that on some archs there is no hope of this driver
      working, and having it compiled into the kernel can cause many different
      problems.  On the other hand, there are some arches for whom that driver
      does work, on some platforms.  So having an explicit yes list would
      result in some rather ugly statements.
      fb5805fb
    • Ruslan U. Zakirov's avatar
      [PATCH] Fix AMD device ID table bug · 72c2b076
      Ruslan U. Zakirov authored
      This fixes the wrong order of array(amd_ide_chips) that causes a BUG()
      in 436 line with any conditions, because we use the wrong amd_config.
      72c2b076
    • Patrick Mochel's avatar
      [PATCH] fix cpufreq compilation · d87c90db
      Patrick Mochel authored
      This is needed to compile kernel/cpufreq.c if the legacy procfs interface
      is not enabled in the latest BK tree.
      d87c90db
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · a68d5b4c
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      a68d5b4c
    • Matthew Wilcox's avatar
      [PATCH] More parisc updates · 4de460b9
      Matthew Wilcox authored
      Updates for drivers/parisc.  Mostly conversion to generic device model.
      New hppb driver from Ryan Bradetich.
      4de460b9
    • Dominik Brodowski's avatar
      [PATCH] cpufreq: per-CPU initialization · d97c3377
      Dominik Brodowski authored
      Allow for per-CPU initialization of CPUfreq. Therefore, it's not
      necessary any longer to kmalloc the per-CPU policy struct. To use
      this, cpufreq_driver->policy has to be set to NULL. Of course,
      cpufreq_driver->init is needed then, which is the appropriate function
      for CPU initialization. cpufreq_driver->exit is available for cleanup.
      
      All existing drivers continue to work without any changes, just for
      clarity ->init and ->exit are set to NULL, and the names accordingly.
      d97c3377